Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vue-cli webpack and server backend dev hot-reaload #351

Closed
M-kasinski opened this issue Feb 15, 2017 · 1 comment
Closed

Vue-cli webpack and server backend dev hot-reaload #351

M-kasinski opened this issue Feb 15, 2017 · 1 comment

Comments

@M-kasinski
Copy link

Hello,
I am trying to understand how to specify the __hmr url.
Because when I include my file.js, for example http: // localhost: 8080 / app.js
In my page the hmr takes the address of my backend server http: // localhost: 2000 / __ hmr ... and refuses to load
Do you have a solution so that I can modify my configuration, in order to be able to reload my page automatically during my development
Thank you

@zigomir
Copy link
Contributor

zigomir commented Feb 18, 2017

Hi @M-kasinski. I'm guessing you're using one of the vuejs-templates, please open issue there.

Webpack's hmr should work out of the box.

I'm not really sure what's the issue but because you're mentioning different backend server I'll point you here: http://vuejs-templates.github.io/webpack/proxy.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants