0👍
Try call the next
function with the path you need, instead of the name.
so instead of
next({ name: 'login' });
call
next('/login');
Source:stackexchange.com
0👍
Try call the next
function with the path you need, instead of the name.
so instead of
next({ name: 'login' });
call
next('/login');