Find a file
2023-04-29 15:29:07 +02:00
.vscode Article about reveal.js 2023-04-14 23:31:48 +02:00
public Hanafuda post update 2023-04-16 00:23:14 +02:00
src Refactor ruby support 2023-04-29 15:29:07 +02:00
.gitignore Basic lyrics transform 2023-04-26 00:26:45 +02:00
astro.config.ts Refactor ruby support 2023-04-29 15:29:07 +02:00
deploy.sh Add cards to home, improve search 2023-04-09 00:58:09 +02:00
markdoc.config.mjs Use markdoc for songs, basic list pages 2023-04-26 21:36:34 +02:00
package.json Update styles for song page 2023-04-29 00:16:15 +02:00
pnpm-lock.yaml Update styles for song page 2023-04-29 00:16:15 +02:00
README.md Initial commit from Astro 2023-04-07 00:25:47 +02:00
tsconfig.json Replace svelte with Solidjs 2023-04-14 21:27:12 +02:00

Astro Starter Kit: Minimal

npm create astro@latest -- --template minimal

Open in StackBlitz Open with CodeSandbox Open in GitHub Codespaces

🧑‍🚀 Seasoned astronaut? Delete this file. Have fun!

🚀 Project Structure

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

/
├── public/
├── src/
│   └── pages/
│       └── index.astro
└── package.json

Astro looks for .astro or .md files in the src/pages/ directory. Each page is exposed as a route based on its file name.

There's nothing special about src/components/, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.

Any static assets, like images, can be placed in the public/ directory.

🧞 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:3000
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.