You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once repo is set up run npm run src:dev and npm run app:dev and then in the app click on the Test One link.
Now navigate back to the code base and modify src/logic/views/TestOne.html or src/logic/views/TestOne.js now instead of inserting the new code it just vue-router is resetting to /.
This project was largely inspired by vuepack so there are a lot of code similarities expect in vuepack the live reloading works. It could be because I am not using the vue-loader (just vanilla JS)?
What is Expected?
Live reloading should insert new code into page and not do full reload to /
What is actually happening?
When code is modified vue-router is resetting to /
The text was updated successfully, but these errors were encountered:
Vue.js / vue-router versions
2.1.2 / 2.1.1
Reproduction Link
https://github.com/CrashyBang/vue-router-reload-bug
Steps to reproduce
Once repo is set up run
npm run src:dev
andnpm run app:dev
and then in the app click on the Test One link.Now navigate back to the code base and modify
src/logic/views/TestOne.html
orsrc/logic/views/TestOne.js
now instead of inserting the new code it justvue-router
is resetting to/
.This project was largely inspired by vuepack so there are a lot of code similarities expect in vuepack the live reloading works. It could be because I am not using the
vue-loader
(just vanilla JS)?What is Expected?
Live reloading should insert new code into page and not do full reload to
/
What is actually happening?
When code is modified
vue-router
is resetting to/
The text was updated successfully, but these errors were encountered: