Is there a way to use BrowserRouter with react-admin to have URLs without the #
character?
Asked
Active
Viewed 669 times
1

Gildas Garcia
- 6,966
- 3
- 15
- 29

vascoFG
- 129
- 1
- 11
1 Answers
2
You'll have to supply your own history. See https://marmelab.com/react-admin/Admin.html#history
import createHistory from 'history/createBrowserHistory';
const history = createHistory();
const App = () => (
<Admin history={history}>
...
</Admin>
);

Gildas Garcia
- 6,966
- 3
- 15
- 29