fastify vite

Fastify plugin for Vite integration

952
83
JavaScript

@fastify/vite

This Fastify plugin allows you to run Vite’s development server as middleware, expose your Vite application to your Fastify application, with configuration hooks to ease router integration and other customizations, and also automatically serve Vite builds, inferred from a Vite configuration file.

See the full documentation suite to learn more.

Official examples can be found in examples/. Community examples are kept in contrib/ and could use your help!

Team

Sponsors

License

MIT






Happy Little Monoliths is an upcoming ebook by the author of this plugin covering full stack development directly with Fastify and Vite, avoiding metaframeworks entirely.

Screenshot 2024-09-22 at 23 54 20

Learn more and pre-order here.