Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to catch all unregistered route without main layout #53

Open
rainierio opened this issue Apr 20, 2020 · 0 comments
Open

Unable to catch all unregistered route without main layout #53

rainierio opened this issue Apr 20, 2020 · 0 comments

Comments

@rainierio
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant