No description
Find a file
2025-02-09 11:57:27 -06:00
.vscode Simplify launch.json for VSCode 2025-02-04 22:26:20 -06:00
messages Implement register form 2024-11-15 14:41:21 -06:00
prisma Session and verification tables 2025-02-09 11:57:27 -06:00
project.inlang Set up Paraglide for localization 2024-08-22 17:46:21 -06:00
public Implement RSS feed 2024-08-27 21:10:39 -06:00
src Rich set a fire 2024-11-20 22:26:10 -06:00
.gitignore Remove generated types 2024-11-13 20:55:26 -06:00
astro.config.mjs Update to Astro V5 2025-01-11 15:38:03 -06:00
codegen.ts Add Prisma ORM 2024-11-13 22:46:54 -06:00
eslint.config.js Cleanup dev environment 2024-11-13 22:45:30 -06:00
package.json Update to Astro V5 2025-01-11 15:38:03 -06:00
prettier.config.cjs Cleanup dev environment 2024-11-13 22:45:30 -06:00
README.md First commit 2024-08-07 20:19:30 -06:00
tailwind.config.mjs Implement header component 2024-08-26 13:16:15 -06:00
tsconfig.json Update to Astro V5 2025-01-11 15:38:03 -06:00
yarn.lock Update to Astro V5 2025-01-11 15:38:03 -06: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: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.