Closed yumengbdw closed 2 years ago
设置过basename history: createHistory('/xxx')
history: createHistory('/xxx')
编译用的是react-app-rewired+ customize-cra的形式 package.json使用的是 "start": "react-app-rewired start",
react-app-rewired
customize-cra
"start": "react-app-rewired start",
使用hashHistory没问题,使用BrowserHistory刷新就会404
前面所有issues看过,未解决
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
设置过basename
history: createHistory('/xxx')
编译用的是
react-app-rewired
+customize-cra
的形式 package.json使用的是"start": "react-app-rewired start",
使用hashHistory没问题,使用BrowserHistory刷新就会404
前面所有issues看过,未解决