How to use new routing with multiple routes for the same component, with named views #421
Unanswered
AlbertoPa
asked this question in
Questions and Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have a case like the following, where I use named views :
What is the best way to have multiple routes in a component, without duplicate copies of User.vue like in the following structure?
where the content between () is to show the old component names and which route(s) it would apply to.
Previous posts ( #129 ) suggest using alias in the definePage() macro, but I can't get that to work with named views e.g., @secondary.
Thank you for your help!
Beta Was this translation helpful? Give feedback.
All reactions