fastify / fastify-vite

Fastify plugin for Vite integration.
MIT License
849 stars 71 forks source link

How to config fastify-vite in a Electron Vite project #145

Closed zoffyzhang closed 5 months ago

zoffyzhang commented 5 months ago

Prerequisites

Issue

Hello! I'm trying to host a fastify server within the Electron main process and make use of the hot reload feature provided by fastify-vite. However, I'm encountering issues getting it to work as expected. Could you provide an example of integrating fastify-vite with Electron Vite template? This would be immensely helpful.

Shyam-Chen commented 5 months ago

This requires converting the build output into a Static Site Generator (SSG).