Skip to main content
This runs Mirage in the browser with an in-memory filesystem and no credentials.

Create the app

This Vite starter needs Node 20.19+ on Node 20, or Node 22.12+:
With pnpm, also add @struktoai/mirage-core: Vite’s dev server finds Mirage’s WebAssembly files through it. Replace src/main.ts with:
src/main.ts
Start the development server:
Open the URL Vite prints. The page displays hello mirage. Before choosing a production mount, review the browser limitations and browser support in the VFS table.