Shows the default Hono-backed Vite setup for an L1 browser app:
vite.config.jsenablesasyncFramework({ server, client }).src/server.jsdefault-exports the Hono app used by local Vite development and by production hosts that understand Hono.src/client.jsstays ordinary L1 browser runtime code.
Start from this directory:
pnpm install
pnpm run devBuild client assets for production:
pnpm run buildThe checked-in config imports the framework plugin from the source checkout so
the example can run here before a package is installed. In an app, import
asyncFramework from @async/framework/vite and import browser APIs from
@async/framework/browser.