Files
brwr.dev
brwr.dev
brwr.dev
master Default
  • Gleam 71%
  • Astro 13%
  • TypeScript 10%
  • CSS 6%
  • Erlang <1%
README.md

Astro Starter Kit: Basics #

bun create astro@latest -- --template basics

๐Ÿง‘โ€๐Ÿš€ Seasoned astronaut? Delete this file. Have fun!

๐Ÿš€ Project Structure #

Inside of your Astro project, you'll see the following folders and files:

/
โ”œโ”€โ”€ public/
โ”‚   โ””โ”€โ”€ favicon.svg
โ”œโ”€โ”€ src
โ”‚ย ย  โ”œโ”€โ”€ assets
โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ astro.svg
โ”‚ย ย  โ”œโ”€โ”€ components
โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ Welcome.astro
โ”‚ย ย  โ”œโ”€โ”€ layouts
โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ Layout.astro
โ”‚ย ย  โ””โ”€โ”€ pages
โ”‚ย ย      โ””โ”€โ”€ index.astro
โ””โ”€โ”€ package.json

To learn more about the folder structure of an Astro project, refer to our guide on project structure.

๐Ÿงž Commands #

All commands are run from the root of the project, from a terminal:

Command Action
bun install Installs dependencies
bun dev Starts local dev server at localhost:4321
bun build Build your production site to ./dist/
bun preview Preview your build locally, before deploying
bun astro ... Run CLI commands like astro add, astro check
bun astro -- --help Get help using the Astro CLI

๐Ÿ‘€ Want to learn more? #

Feel free to check our documentation or jump into our Discord server.