An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

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