Nested routes - with parent component #386
-
Hi, what is the best approach for include parent component in nested routes for specific pages:
Using layouts? Or extending routes? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
You can do nested routes like this https://uvr.esm.is/guide/file-based-routing.html#nested-routes |
Beta Was this translation helpful? Give feedback.
-
I guess I didn't make myself clear. For example, how can I replicate routes according to the example from vue-router. See below
|
Beta Was this translation helpful? Give feedback.
-
Thank you very much, it works. I misunderstood from the documentation. |
Beta Was this translation helpful? Give feedback.
That would be the same as I sent you with a files users/[id].vue and users/[id]/index.vue and a folder users/[id]