How to remove # from the URL routes?
Posted: 24 May 2022, 06:19
Hello, I have recently bought this template using my company account, but when using this template, I came across a small issue that is bothering me.
The routes always seem to add after the For example, the homepage is And because of that, if I have to go to any of my routes, such as Settings, it is always
When I manually enter the URL , it does not recognize the route and proceeds to show the home component because there is a missing in the URL.
When I enter a URL that does not match any path, I would expect it to show the invalid page component which is already available in the template, please help me with how I can implement the same and also solve this URL issue.
Thanks.
The routes always seem to add
Code: Select all
#
Code: Select all
/
Code: Select all
localhost:3000/#
Code: Select all
localhost:3000/#/settings
Code: Select all
localhost:3000/settings
Code: Select all
#
When I enter a URL that does not match any path, I would expect it to show the invalid page component which is already available in the template, please help me with how I can implement the same and also solve this URL issue.
Thanks.