Skip to content

nitrojs/vite-examples

Repository files navigation

Nitro + Vite Examples

🎉 Nitro v3 is becoming "just" a Vite plugin!

Note

See 💬 Nitro Vite Feedback for discussions.

Examples

Example Source Playground Clone
basic-service examples/basic-service stackblitz npx giget gh:nitrojs/vite-examples/examples/basic-service basic-service-app
h3 examples/h3 stackblitz npx giget gh:nitrojs/vite-examples/examples/h3 h3-app
hono examples/hono stackblitz npx giget gh:nitrojs/vite-examples/examples/hono hono-app
node-compat examples/node-compat stackblitz npx giget gh:nitrojs/vite-examples/examples/node-compat node-compat-app
react-ssr examples/react-ssr stackblitz npx giget gh:nitrojs/vite-examples/examples/react-ssr react-ssr-app
vue-ssr examples/vue-ssr stackblitz npx giget gh:nitrojs/vite-examples/examples/vue-ssr vue-ssr-app

Warning

Examples are highly experimental at the moment!

Tip

Contributions are always welcome! Feel free to submit pull requests to add more examples.

Try Locally

  • Clone this repository.
  • Install the latest LTS version of Node.js (v22+).
  • Enable corepack using corepack enable (run npm i -g corepack if it's not available).
  • Install dependencies using pnpm install.
  • Use pnpm -C examples/<name> dev or pnpm -C examples/<name> build to try examples.

About

Nitro v3 + Vite Examples

Resources

License

Stars

Watchers

Forks

Sponsor this project