cvsa/packages/frontend
2025-03-30 18:42:24 +08:00
..
public init: astro frontend 2025-03-29 19:10:52 +08:00
src fix: redundant 'key' attribute in HTML tag 2025-03-30 18:42:24 +08:00
.gitignore init: astro frontend 2025-03-29 19:10:52 +08:00
astro.config.mjs add: few pages 2025-03-30 06:45:27 +08:00
package.json update: song page 2025-03-30 07:31:24 +08:00
README.md ref: format 2025-03-29 22:23:31 +08:00
tailwind.config.js add: frontend with Astro 2025-03-30 03:57:21 +08:00
tsconfig.json update: song page 2025-03-30 07:31:24 +08:00

Astro Starter Kit: Basics

deno create astro@latest -- --template basics

Open in StackBlitz Open with CodeSandbox Open in GitHub Codespaces

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

just-the-basics

🚀 Project Structure

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

/
├── public/
│   └── favicon.svg
├── src/
│   ├── 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
deno install Installs dependencies
deno dev Starts local dev server at localhost:4321
deno build Build your production site to ./dist/
deno preview Preview your build locally, before deploying
deno astro ... Run CLI commands like astro add, astro check
deno astro -- --help Get help using the Astro CLI

👀 Want to learn more?

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