beforeRouteUpdate not Working with sharing routes code example
Example: beforeRouteUpdate not Working with sharing routes
function beforeEnter (to, from, next) {
// do things
next()
}
export default {
beforeRouteEnter (to, from, next) {
beforeEnter(to, from, next)
},
beforeRouteUpdate (to, from, next) {
beforeEnter(to, from, next)
}
}