https://github.com/fastify/fastify-vite
Fastify plugin for Vite integration
https://github.com/fastify/fastify-vite
fastify fastify-plugin isomorphic react server-rendering server-side-rendering solid solidjs ssr svelte sveltejs universal vue vue3
Last synced: 6 days ago
JSON representation
Fastify plugin for Vite integration
- Host: GitHub
- URL: https://github.com/fastify/fastify-vite
- Owner: fastify
- License: mit
- Created: 2021-03-06T13:34:37.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-25T00:50:06.000Z (11 days ago)
- Last Synced: 2025-04-25T01:39:16.633Z (11 days ago)
- Topics: fastify, fastify-plugin, isomorphic, react, server-rendering, server-side-rendering, solid, solidjs, ssr, svelte, sveltejs, universal, vue, vue3
- Language: JavaScript
- Homepage:
- Size: 7.01 MB
- Stars: 1,011
- Watchers: 24
- Forks: 86
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Contributing: docs/contributing.md
- License: LICENSE
- Roadmap: docs/roadmap.md
Awesome Lists containing this project
- awesome-github-star - fastify-vite - Side Rendering (SSR) with Fastify. | fastify | 640 | (JavaScript)
README
# **`@fastify/vite`**
This [Fastify](https://fastify.dev) plugin lets you:
- run Vite's development server as middleware in your Fastify server
- in development mode only, naturally
- **expose** your [Vite](https://vitejs.dev) 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](https://fastify-vite.dev) to learn more.
Official examples (low-level integration) can be found in [`examples/`](https://github.com/fastify/fastify-vite/tree/main/examples).
Official starters (DX-focused) using `@fastify/vue` and `@fastify/react` can be found in [`starters/`](https://github.com/fastify/fastify-vite/tree/main/starters).
## Team
- Jonas Galvez [@galvez](https://github.com/galvez)
- Wei Wang [@onlywei](https://github.com/onlywei)
- Andreas Johansson [@zanmato](https://github.com/zanmato)## Sponsors
## License
MIT