Closed xiangnanscu closed 3 months ago
/users/:id
src/pages/ ├── index.vue ├── about.vue └── users/ ├── index.vue └── [id].vue
to /:modelName/:id
/:modelName/:id
src/pages/ ├── index.vue ├── about.vue └── [modelName]/ ├── index.vue └── [id].vue
reason: I'm writing a database admin page, the model name is dynamic
This is already possible
/users/:id
to
/:modelName/:id