Skip to content

srsgores/astro-starter

Repository files navigation

Astro Starter Kit

Lightweight Astro template for creating websites with accessible, optimized defaults:

Live demo

logo

  • SEO and metadata optimization
  • Site configuration via config.ts
  • Blog preconfigured within the /src/content/blog directory
  • Vanilla CSS (no Tailwind)
  • Logical properties when possible for CSS
  • Zero javascript out of the box, relying on .Astro files soley
  • <ViewTransitions/> enabled out of the box
  • Sitemaps and RSS preconfigured
  • Site previews, which default to /public/site-preview.jpg (you'll have to create this file by taking a screenshot)
  • prettier for automatically formatting
  • Basic building blocks for site navigation, header, and footer

Getting Started

Deploy to Netlify: Deploy to Netlify

Open in StackBlitz Open with CodeSandbox Open in GitHub Codespaces

🧞 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

About

Accessible, optimized starting template for Astro

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published