79719931

Date: 2025-07-30 12:15:56
Score: 1.5
Natty:
Report link

It looks like you want to watch for query, not param:

watch: { 
  '$route.query.search': function(search) {
    console.log(search)
  }
}

When watching on the query you also do not need a deep: true as suggested as well in this StackOverflow. deep: true seems to work, but it is actually no the correct solution.

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vanessa Otto