Skip to content

withastro/server-islands

Repository files navigation

Server Islands Demo

🏝️✨

This repo demonstrates Astro’s Server Islands technique.

👉 LIVE DEMO 👈

Learn more in the Astro 4.12: Server Islands blog post.

Local development

  1. Install dependencies:

    pnpm install
  2. Run the dev server:

    pnpm run dev
  3. Open the demo in your browser: https://localhost:4321

Notes

  • This example is ready to deploy to Netlify, but can be updated to deploy to other hosts by changing the adapter in astro.config.mjs.

    Learn more in “On-demand Rendering Adapters” in the Astro Docs.