Skip to content

Unable to catch all unregistered route without main layout #53

Description

@rainierio

Hi,
Thanks for making this beautiful template, And hopefully you guys still keep this project alive.
My current issue is I am unable to catch all unregistered react-router path to handling 404 page.
The React.suspense always include the when rendering the 404 page which will show the navbar and sidebar.

I have tried to use the with path='*' and it successfully renders the 404 page without , but it will always go to the 404 page even when we access the registered Route path.

Thanks for your response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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