Install fetchlet as a development dependency alongside your framework. Every
framework adapter is a subpath of the fetchlet package, with framework
packages listed as optional peer dependencies.
npm install -D fetchletpnpm add -D fetchletyarn add -D fetchletbun add --dev fetchletvp i -D fetchletAll adapters produce the same artifact layout (server.js, client/, and
fetchlet.json) and work with QuickJS, Boa, and V8.
| Framework | Adapter subpath | Dev server (--vite) |
Example |
|---|---|---|---|
| Astro | fetchlet/astro, fetchlet/astro/server |
Yes (devServer: true) |
astro-axum |
| Hono and HonoX | fetchlet/hono/vite, fetchlet/hono/conninfo |
Rebuild | honox-axum |
| Nuxt and Nitro | fetchlet/nitro, fetchlet/nitro/types |
Rebuild | nuxt-axum |
| Qwik City | fetchlet/qwik-city/vite, fetchlet/qwik-city/middleware |
Rebuild | qwik-city-axum |
| React Router | fetchlet/react-router, fetchlet/react-router/context |
Yes (fetchletDevServer) |
react-router-axum |
| Solid | fetchlet/solid, fetchlet/solid/context |
Yes | solid-axum |
| SolidStart | fetchlet/solid-start, fetchlet/solid-start/context |
Yes | solidstart-axum |
| SvelteKit | fetchlet/sveltekit |
Rebuild | sveltekit-axum |
| TanStack Start | fetchlet/tanstack-start |
Yes | tanstack-start-axum |
| vinext | fetchlet/vinext, fetchlet/vinext/context |
Rebuild | vinext-axum |
| Waku | fetchlet/waku, fetchlet/waku/context |
Rebuild | waku-axum |
| Vite | fetchlet/vite, fetchlet/vite/client-assets |
Yes | vanilla-axum |
Without a framework adapter
- Using Vite without a framework: use
fetchlet/vitefor a standardfetch(request, env, ctx)server module plus browser entries. - Without Vite: use the
fetchlet buildcommand or callbuildArtifactfromfetchlet/build.
Unsupported frameworks
Next.js (next build output — use vinext instead), Qwik 2, and SolidStart builds targeting Nitro are not supported.
Common notes across frameworks
- WebAssembly: QuickJS and Boa do not provide
WebAssembly. If your app or its dependencies require WebAssembly, build for and run on thev8backend (Engine limits). - Static assets: All adapters accept
assets: true(or a custom configuration) to packclient/into a compressedassets.flpkarchive for fast serving and single-binary embedding (Asset archive).