• Astro 50.3%
  • CSS 39.6%
  • TypeScript 10.1%
Find a file
Steffen Beisenherz dffe90905f
Some checks failed
Deploy to GitHub Pages / build (push) Failing after 1s
Deploy to GitHub Pages / deploy (push) Has been skipped
fix: build pipeline
2026-05-09 19:44:32 +02:00
.github/workflows chore(deps): update withastro/action digest to b7d5362 2026-04-21 10:32:33 +02:00
public ui: redesign the entire ui 2026-04-14 14:41:00 +02:00
src chore: prefer using tailwinds apply logic 2026-04-14 14:41:00 +02:00
.gitignore feat: move to github pages again 2026-03-23 22:15:12 +01:00
.prettierrc.mjs initial setup, landing page and 404 page 2024-11-01 22:29:15 +01:00
astro.config.ts fix: deprecations and ui warnings from the astro debug bar 2026-04-14 14:41:00 +02:00
mise.toml fix: build pipeline 2026-05-09 19:44:32 +02:00
package.json chore(deps): update dependency prettier-plugin-tailwindcss to v0.8.0 2026-05-09 16:03:58 +02:00
pnpm-lock.yaml chore(deps): update dependency prettier-plugin-tailwindcss to v0.8.0 2026-05-09 16:03:58 +02:00
pnpm-workspace.yaml fix: build pipeline 2026-05-09 19:44:32 +02:00
README.md Initial commit from Astro 2024-10-27 14:24:23 +01:00
renovate.json feat: add webfinger 2025-08-04 22:18:32 +02:00
tailwind.config.ts add blog functionality, which is only usable on desktop for now 2024-11-07 00:02:02 +01:00
tsconfig.json Initial commit from Astro 2024-10-27 14:24:23 +01:00

Astro Starter Kit: Basics

npm 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/
│   ├── components/
│   │   └── Card.astro
│   ├── layouts/
│   │   └── Layout.astro
│   └── 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.