Fix hot-reloading breaking react-router-dom
This commit is contained in:
parent
dbb6f69e00
commit
b19406bf22
2 changed files with 4 additions and 3 deletions
3
resources/scripts/components/history.ts
Normal file
3
resources/scripts/components/history.ts
Normal file
|
@ -0,0 +1,3 @@
|
|||
import { createBrowserHistory } from 'history';
|
||||
|
||||
export const history = createBrowserHistory({ basename: '/' });
|
Loading…
Add table
Add a link
Reference in a new issue