A Vite plugin that adds a Nitro API server to your Vite project, forked from @analogjs/vite-plugin-nitro. Current version 0.0.5 is experimental. Use it to develop and build an API server with Nitro (UnJS) alongside your Vite frontend. Differs from the analogjs fork by being standalone without AnalogJS dependencies. Requires Node >=20 and Vite 5. Release cadence is low; the package is in early stages.
npm install vite-plugin-with-nitroVerified import paths — ran on the pinned version, not inferred.
Basic setup: add the nitro plugin to Vite config with optional Nitro preset and API directory.
Upgrade Node.js to version 20 or higher.
Use import syntax or configure your project to use ESM.
Check the documentation for any changes if migrating from the analogjs fork.
Pin to exact version or expect breaking changes on minor/patch updates.
Run `pnpm add vite-plugin-with-nitro -S`
Upgrade Node.js to version 20 or higher.
Add "type": "module" to package.json or rename file to .mjs.
No dependency data recorded yet.