GitHub
1.05k
Created 4 years ago, last commit a day ago
44 contributors
1.24k commits
Stars added on GitHub, month by month
N/A
N/A
N/A
N/A
N/A
N/A
5
6
7
8
9
10
11
12
1
2
3
4
2024
2025
Stars added on GitHub, per day, on average
Yesterday
=
Last week
+0.3
/day
Last month
+1.5
/day
npmPackage on NPM
Monthly downloads on NPM
5
6
7
8
9
10
11
12
1
2
3
4
2024
2025
README

@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