I’m guessing this has changed since it’s now broken, it did work in 5.7 but not in 7.1:
I’m getting the following error because params is no longer defined:
Cannot read properties of undefined (reading ‘welcome’)
if(to.params.welcome)
to.resolve('/login/1/');
else
to.resolve('/login/');
What’s the proper way to reference the params on the “going to” route/url?