Skip to content

Files

Latest commit

May 1, 2025
cc9af4a · May 1, 2025

History

History
41 lines (25 loc) · 1.58 KB

README.md

File metadata and controls

41 lines (25 loc) · 1.58 KB

@fastify/vite

This Fastify plugin lets you:

  • run Vite's development server as middleware in your Fastify server
    • in development mode only, naturally
  • expose your Vite application to your Fastify application
    • with configuration hooks to ease router integration and other customizations
  • automatically serve your Vite production bundle, inferred from a Vite configuration file.

This repository is also the home of @fastify/vue and @fastify/react.

They provide basic Nuxt and Next.js-like functionality, respectively, through @fastify/vite.

See the full documentation suite to learn more.

Official examples (low-level integration) can be found in examples/.

Official starters (DX-focused) using @fastify/vue and @fastify/react can be found in starters/.

The package's author has also written a book covering the stack.

Team

Sponsors

License

MIT