Volver a Proyectos
Astro
JavaScript
CSS
Docker
Astrobuild Tips — Blog Técnico
0
Stars ⭐
0
Forks 🍴
README.md
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.
Links
Detalles
Creado junio de 2026
Actualizado 2 de junio de 2026
Lenguaje Astro
Visibilidad Público
Categorías
frontendweb