Skip to content

Including dynamic route to variable publicPages #16

@grasulkhuja

Description

@grasulkhuja

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')
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions