Replies: 3 comments 1 reply
-
The public directory in Vite is directly copied to the dist folder during build, preserving the directory structure. If you want to use Vue or React components within this page, you will have to modify the Vite configuration to handle multiple HTML files like this:
|
Beta Was this translation helpful? Give feedback.
-
Thanks, but this doesn't work as reliably as I expected. Things in |
Beta Was this translation helpful? Give feedback.
-
You could try the rollup plugin,
And then add it to the config file.
|
Beta Was this translation helpful? Give feedback.
-
I want to add a new html page to the distributable, accessible for example at /extension-id/dist/custom/index.html
How to do this? I guess I have to modify some of the configuration scripts, but I'm not sure which.
Beta Was this translation helpful? Give feedback.
All reactions