problems with vite dev server (proxy setup without destroying live reload & other strange behaviour) #9327
Unanswered
drahkrub
asked this question in
Help/Questions
Replies: 1 comment 1 reply
-
You'd better ask in https://github.com/vitejs/vite :D |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I would like to switch from vue-cli to vite.
Everything works perfectly fine in production mode, but I have problems with vite (which I do not have with vue-cli) in development mode which I am unable to fix.
Usually I work with Spring-Boot as backend, but - since we are here in Javascript-Land - I've setup a very simple Javascript project with Express.js as backend which serves two simplified Vue.js demo projects, one build with vue-cli (no problems), the other one with vite (problems in development mode), see https://github.com/drahkrub/demo-vue-cli-vs-vite .
The main problem (in development mode) is to setup the dev server such that
I've tried several settings but none of them worked. As I said I experience this problem only with vite, not with vue-cli.
Please visit https://github.com/drahkrub/demo-vue-cli-vs-vite where I have described the problems in more detail.
Any help is appreciated!
Beta Was this translation helpful? Give feedback.
All reactions