You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In code we have a const publicPages = ['/authenticate', '/']
I'm gonna add to this variable a dynamic route such as a '/email-confirm/:uid/:token'
Question: how I can implement this? I'm tried like this:
const publicPages = ['/authenticate', '/', '/email-confirm/:uid/:token'], it is not working
and like this: const publicPages = ['/authenticate', '/', {name: 'email-confirm'}], this also not working
P.S here my route:
{
path: '/email-confirm/:uid/:token',
name: 'email-confirm',
component: () => import('../views/Auth/EmailConfirm')
},
The text was updated successfully, but these errors were encountered:
In code we have a const publicPages = ['/authenticate', '/']
I'm gonna add to this variable a dynamic route such as a '/email-confirm/:uid/:token'
Question: how I can implement this? I'm tried like this:
const publicPages = ['/authenticate', '/', '/email-confirm/:uid/:token'], it is not working
and like this: const publicPages = ['/authenticate', '/', {name: 'email-confirm'}], this also not working
P.S here my route:
{
path: '/email-confirm/:uid/:token',
name: 'email-confirm',
component: () => import('../views/Auth/EmailConfirm')
},
The text was updated successfully, but these errors were encountered: