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
This happens only if I use code splitting.
All components can work correctly at the first loading, then if you go back to the visited component, it disappears, the content are blank. beforeCreated、created... the component's lifecycle does not execute as expected.
But when use webpack 1.x, this is all right.
Or if I do not use code splitting, it can work correctly too.
All components can work correctly at the first loading, then if you go back to the visited component, it disappears, the content are blank.
beforeCreated
、created
... the component's lifecycle does not execute as expected.But when use webpack 1.x, this is all right.
Or if I do not use code splitting, it can work correctly too.
Vue.js / vue-router versions
Vue.js: 2.1.10
Vue-router: 2.1.3
Webpack: 2.2.0
Reproduction Link
Upgrade Webpack to 2.2
https://github.com/huangyingjie/vue-router-webpack2-bug-demo
Steps to reproduce
npm start and click the link.
What is Expected?
router.go can works correctly.
What is actually happening?
component does not load then content is blank.
The text was updated successfully, but these errors were encountered: