creativetimofficial / light-bootstrap-dashboard-react

React version of Light Bootstrap Dashboard
MIT License
749 stars 1.04k forks source link

Use BrowserRouter to remove # from path #41

Closed sunshineo closed 5 years ago

sunshineo commented 5 years ago

I believe not having # in the path is prefered by most projects nowadays

einazare commented 5 years ago

Hello there @sunshineo ,

Thank you for this. But I have a question. If you deploy to gh-pages the project, how do you stop using the cannot get error when refreshing a page? We've found out that you either configure your own webpack and stop using react-scripts, or you use HashRouter. Maybe you have a better solution?

Best, Manu

sunshineo commented 5 years ago

I've never deployed the project to Github. What's your process of doing that? And what do you mean by "cannot get error when refreshing a page?"