-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
Version
4.0.0-alpha.13
Reproduction link
https://github.com/vuejs/vue-router-next
Steps to reproduce
- clone vue-router-next repository onto local machine
npm i
- add
console.log(route.fullPath);
at line 207 (right before return statement) npm run dev
- visit http://localhost:808x/users/1 and view console panel
fullPath
shown as "/"
What is expected?
fullPath shown as "/user/1"
What is actually happening?
fullPath
shown as "/"
route.fullPath always shows "/" whatever I enter in the URL. This only happen at the very early stage when accessing the Vue app. i.e. App.vue.
However, it works well after the router-view's component has been successfully loaded. i.e. I can get the correct route.fullPath in the page which has been loaded by .
Did I missed something? Please help me out.
Metadata
Metadata
Assignees
Labels
No labels