Minimal Astro starter for new projects. MIT licence.
Uses:
- Typescript
- Prettier
- ESLint
- Flowbite
- TailwindCSS
@astrojs/sitemap
and@astrojs/rss
preintegrated- Icons via Astro Icon
Inside of your Astro project, you'll see the following folders and files:
/
βββ astro.config.mjs # Astro configuration file
βββ public/ # Location of static assets
β βββ favicon.svg
βββ src/
β βββ assets/ # Location of dynamic assets (eg. images)
β β βββ screenshot.png
β βββ components/ # Astro components
β β βββ header.astro
β βββ content/ # Location of content (markdown, data and images)
β β βββ config.ts
β βββ layouts/ # Location of layouts for pages
β β βββ Layout.astro
β βββ pages/ # Location of pages
β βββ index.astro
βββ package.json
βββ tailwind.config.mjs # TailwindCSS configuration file
All commands are run from the root of the project, from a terminal:
Command | Action |
---|---|
pnpm install |
Installs dependencies |
pnpm run dev |
Starts local dev server at localhost:3000 |
pnpm run build |
Build your production site to ./dist/ |
pnpm run preview |
Preview your build locally, before deploying |
pnpm run astro ... |
Run CLI commands like astro add , astro check |
pnpm run astro -- --help |
Get help using the Astro CLI |