Need to route to same route with different params, when i am already on that route

i got stuck here with one problem.

i am there on route /user/profile with one open accordion “NAME” and i want to open an different accordion “DETAILS” on the same route /user/profile and same component with drop down i have. How can i do that.

i am not able to route to the same route with different params, when i am already there on that route.

please help me out here.

Thanks

You can use try to change the route on the beforeRouteUpdate lifecycle. This will enable vue to recognise the change. Cheers!