Answers for "watch $route"

0

watch $route

watch: { 
     '$route.params.search': {
        handler: function(search) {
           console.log(search)
        },
        deep: true,
        immediate: true
      }
}
Posted by: Guest on October-06-2021

Browse Popular Code Answers by Language