This pull request adds the ability to handle Vite apps with multiple entry points.
You can now set a ViteEntry in the new vite.Handler to specify the entry point to pick up when handling a route in the Go backend.
The examples have been restructured. We now have a examples/basic to illustrated the simplest setup, and examples/multi-page-app for a Vite app with multiple entry points.
This pull request adds the ability to handle Vite apps with multiple entry points.
You can now set a
ViteEntry
in the newvite.Handler
to specify the entry point to pick up when handling a route in the Go backend.The examples have been restructured. We now have a
examples/basic
to illustrated the simplest setup, andexamples/multi-page-app
for a Vite app with multiple entry points.Closes #1