Skip to content

Running Locally

  • Bun 1.3.14 or newer

Bun is used for dependency installation and as the runtime for every Astro CLI command in this sample.

Terminal window
bun install
bun run dev

Astro serves the configured base path at http://localhost:4321/docfw-cmp/starlight/en/.

Terminal window
bun run build
bun run preview

The static output is written to dist/. Pagefind indexing runs as part of the Starlight production build, so search results are available after build, not in the development server.