kubis.ai

Getting Started with Astro: A Modern Static Site Generator

• 1 min read

Getting Started with Astro

Astro is a modern static site generator that offers incredible performance out of the box. Let’s explore why it’s becoming a favorite among developers.

Why Astro?

  • Performance First: Ships zero JavaScript by default
  • Component Islands: Use any UI framework you want
  • Content Collections: Type-safe Markdown/MDX support
  • SEO Friendly: Built-in optimizations

Quick Start

Here’s how to create a new Astro project:

# Create a new project
npm create astro@latest

# Install dependencies
npm install

# Start development server
npm run dev

Key Features

  1. File-based Routing
  2. Markdown Support
  3. Component Framework Support
  4. Built-in Asset Optimization

Stay tuned for more Astro tutorials!