Skip to content

Latest commit

Β 

History

History
40 lines (31 loc) Β· 1.62 KB

File metadata and controls

40 lines (31 loc) Β· 1.62 KB

Created using Astro

πŸš€ Project Structure

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

/
β”œβ”€β”€ public/
β”‚   └── ... any files or resources that need to be available from the website directly
β”œβ”€β”€ src
β”‚Β Β  β”œβ”€β”€ assets
β”‚Β Β  β”‚Β Β  └── ... any files or resources that will be displayed in page content
β”‚Β Β  β”œβ”€β”€ components
β”‚Β Β  β”‚Β Β  └── Header, Footer, PageBanner, and maybe more in the future.
β”‚Β Β  β”œβ”€β”€ layouts
β”‚Β Β  β”‚Β Β  └── Layout.astro (just the one for now)
β”‚Β Β  └── pages
β”‚Β Β      └── Actual content for all of the pages!
└── package.json

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

🧞 Commands

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

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

πŸ‘€ Want to learn more?

Refer to the contribution guidelines