Answer the question
In order to leave comments, you need to log in
How to add path alias in Nuxt.js?
At the moment, this folder structure is:
/pages/users/index.vue
/pages/users/_id.vue You
need to make 4 paths:
/users
/user/list
/user/map
/users/:id
You need the first 3 paths to refer to /pages/users/index.vue , but now only the first path refers to it, and the rest to /pages/users/_id.vue.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question