Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9
Open
Description
I have a pretty simple setup:
- A basic login component that calls
this.$navigator.navigate('/landing')
. - The Landing component just console.logs
this.$navigator.path
within mounted and it spits out/login
instead of/landing
- The Landing template has a Label with
$navigator.path
and I see it update a split second after rendering, so it seems like there's just a delay when path is actually updated? I'm not sure.
Let me know if you need more details. The setup seems pretty basic, so maybe I'm just missing something obvious. I'd like to check if a component needs auth (in mymeta
prop of the route) on mounted, so that's my actual use case.
Note I'm on 1.2.0.
Metadata
Metadata
Assignees
Labels
No labels