vue router watch route function not defined code example
Example: router not defined vue
editVideo(video) {router.push({ name: 'editVideo', params: { id: video.id } })},
editVideo(video) {router.push({ name: 'editVideo', params: { id: video.id } })},