Open luxi-record opened 1 month ago
@luxi-record could you specify a bit more you question? In the current form, this repository is an example multi page application.
You can see the routes here: https://github.com/technologiestiftung/vite-react-ssg-example/blob/main/src/routes/routes.ts and the pages implementation here: https://github.com/technologiestiftung/vite-react-ssg-example/tree/main/src/pages
I have multiple entry HTML files. rollupOptions like this rollupOptions: { input: { chat: path.resolve(dirname, 'src/pages/chat/index.html'), settings: path.resolve(dirname, 'src/pages/settings/client.tsx'), screenshot: path.resolve(__dirname, 'src/pages/screenshot/index.html') }, }
How to use it in a multi-page application?