Best practice url structure for crud
With nuxt I can't have a page structure like this:
/cars
* [id].vue
* create.vue
* index.vue
Cause if I navigate to /cars/create it assumes that create is an id? But I like to have my urls like this:
/cars
/cars/123/edit
/cars/create
Isn't this best practice?
/cars
* [id].vue
* create.vue
* index.vue
Cause if I navigate to /cars/create it assumes that create is an id? But I like to have my urls like this:
/cars
/cars/123/edit
/cars/create
Isn't this best practice?
