0π
It suffices to keep the slug
property of your model up to date with the title
property.
The cleanest approach here would be a watcher on your title
that updates the slug
, or by computing model.slug
right before you POST it to the server.
- [Vuejs]-Headless cms access wp-admin(nuxt.js + wordpress)
- [Vuejs]-Variable as vee validate v-validate directive value
0π
You can append slug in Model Resource if you are using Laravel
- [Vuejs]-How can i change date format in vue js template
- [Vuejs]-VueJS β The app cant locate the route
Source:stackexchange.com