SyntaxFix
Write A Post
Hire A Developer
Questions
Setup a watcher on the $route in your component like this:
$route
watch:{ $route (to, from){ this.show = false; } }
This observes for route changes and when changed ,sets show to false
show