Modern web framework

So astro is good for website that need SEO, and is content-heavy with less interacitvity.

Astro build
     ↓
Components rendered on server
     ↓
Pure HTML files generated
     ↓
Browser receives ready-made HTML 
(no JS execution needed)

Create Project

  1. Build astro project

    npm create astro@latest
    
  2. Where should we create your new project?

  3. How would you like to start your new project?

  4. Install dependencies?

  5. Initialize a new git repository?

  6. Add preact into Astro

    npx astro add preact
    
  7. Install dependencies?