Astro
Astro
Astro is an all-in-one web framework for building fast, content-focused websites. It allows you to keep your favorite UI components while shipping less JavaScript to the browser.
Create Astro Project
Astro
Create a new Astro project
npm create astro@latest
Astro Development Server
Astro
Start the Astro development server
npm run dev
Astro Build
Astro
Build the Astro site for production
npm run build
Astro Preview
Astro
Preview the production build locally
npm run preview
Add Astro Integration
Astro
Add an integration to your Astro project
npx astro add
Astro Check
Astro
Check your Astro project for errors
npx astro check
Astro Sync
Astro
Generate content collection types
npx astro sync
Create Astro Page
Astro
Create a new page in your Astro project
npx astro new page
Create Astro Component
Astro
Create a new component in your Astro project
npx astro new component
Create Astro Layout
Astro
Create a new layout in your Astro project
npx astro new layout
Create Astro Content Collection
Astro
Create a new content collection in your Astro project
npx astro new collection
Astro Telemetry
Astro
Configure telemetry settings for Astro
npx astro telemetry