Replies: 6 comments 6 replies
-
Emm... Vite build the page via |
Beta Was this translation helpful? Give feedback.
-
I also need to locally run index.html from dist folder. is there any way? EDIT: found this library here but I prefer not to use lib |
Beta Was this translation helpful? Give feedback.
-
I've made a very small vite plugin to build the project and directly use the built |
Beta Was this translation helpful? Give feedback.
-
Use this:
|
Beta Was this translation helpful? Give feedback.
-
You can create custom plugin to remove crossorigin attribute. This will allow to use http requests in site served by file://
and then
|
Beta Was this translation helpful? Give feedback.
-
any update please? there are no way to run in file protocol. I am stuck at vue CLI now |
Beta Was this translation helpful? Give feedback.
-
Because we are mixed development, embedded h5 page, open using file protocol, and vite must be http protocol to request, how to solve this
Beta Was this translation helpful? Give feedback.
All reactions