Skip to Content
Running Locally

Running Locally

To inspect this Nextra evaluation yourself, install dependencies and run the site locally. The steps below reproduce the setup used to produce every page in this write-up.

Requirement

Install

bun install

Develop

bun run dev

Open http://localhost:3000 . You will be redirected to your preferred locale (/en or /ja).

Build and preview

bun run build

bun run build also runs the postbuild script, which generates the Pagefind search index into out/_pagefind. Search results are therefore available in the static production output, not in development mode. From the repository root, run mise run build && mise run serve to open the Pages-equivalent preview with Bun.

Last updated on