0👍
✅
You can navigate to a route with params by passing the param names as an object:
params: { category: selectedCategory }
If you are also passing a hash
value, you’re able to declare the hash
property as well:
hash: eachQuestion.id
Source:stackexchange.com