I use ReactJS to create app, When i start app with yarn start, app will run with url: localhost:3000/#/dashboard.
Now, i want remove string /#/ in url.
I am trying change but not done. Please help me change this
The template using: https://coreui.io/react/
CodePudding user response:
https://coreui.io/react is using the HashRouter from react-router-dom. This is the safest router available, so I would consider whether or not you want to change it.
If you do, in App.js swap HashRouter for BrowserRouter.
