-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Description
Version
4.0.11
Reproduction link
Steps to reproduce
get route name inside setup method with useRoute hook, then refresh the page, name is undefined:
const route = useRoute();
console.log("route", route.name);
What is expected?
can get the name
What is actually happening?
name is undefined
I checked the route info, and have set the name for each route. tried onBeforeRouteUpdate
hook inside setup method, it's event not evoked. not sure why, please help to figure it out.
Metadata
Metadata
Assignees
Labels
No labels