-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed as not planned
Description
Version
3.6.5
Reproduction link
Steps to reproduce
- Start the page to / (Home)
- Click on User Edit
- Click on Home
- Click on User Dashboard
What is expected?
Expecting to see the User Dashboard page
What is actually happening?
The main router-view shows the latest sub-routing: User Edit.
The relevant thing I tried is to put the attribute :key
to the main router-view
<router-view :key="`app_${$route.fullPath}}`"></router-view>
alto tried to combine with
<router-view :key="`user_${$route.fullPath}}`"></router-view>
but by doing this you mysteriously lose the animation on the child routing-view maybe because the parent-routing-view is being reloaded.
If you remove the node <transition>
or <keep-alive>
it start to work as expected.
I tried many things but haven't found a way to make it work with transition, keep-alive and nested routing
thanks
Metadata
Metadata
Assignees
Labels
No labels