My personal webpage https://www.mchafer.com
  • Astro 97.1%
  • JavaScript 2.9%
Find a file
2026-02-15 17:37:50 +01:00
.astro Update Astro to 5.17.1 2026-02-15 17:37:50 +01:00
public Update Astro to 5.17.1 2026-02-15 17:37:50 +01:00
src Update Astro to 5.17.1 2026-02-15 17:37:50 +01:00
.gitignore Add Astro + React to project 2025-08-29 10:41:53 +00:00
astro.config.mjs Update Astro to 5.17.1 2026-02-15 17:37:50 +01:00
package-lock.json Update Astro to 5.17.1 2026-02-15 17:37:50 +01:00
package.json Update Astro to 5.17.1 2026-02-15 17:37:50 +01:00
README.md Add Astro + React to project 2025-08-29 10:41:53 +00:00
tsconfig.json Update Astro to 5.17.1 2026-02-15 17:37:50 +01:00

Astro Starter Kit: Basics

npm 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
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?

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