-
I can only see
|
Beta Was this translation helpful? Give feedback.
Answered by
recallwei
Mar 5, 2024
Replies: 2 comments 1 reply
-
Hey, It's been a long time but you can suscribe to the router events by doing this after initializing the router instance! // Set up a Router instance
const router = createRouter({
routeTree,
// ... Your router props
});
// Subscribe to events
router.subscribe('onBeforeLoad', () => nprogress.start())
router.subscribe('onLoad', () => nprogress.complete()) More information about router events here Hope it helps! |
Beta Was this translation helpful? Give feedback.
0 replies
-
Only the path changed should display loading.
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
taskindrp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Only the path changed should display loading.