-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
antd-dayjs-webpack-plugin对于路由的影响 #7
Comments
可以关注 arackaf/customize-cra#204 |
同样出现这个问题,添加了这个插件页面白屏,得f5刷新一下页面才能看到页面,删除掉这个插件就没问题了...,而且我没有使用 |
同样出现这个问题,不管create-react-app用rewired还是eject都一样,而且还无法替换moment "devDependencies": { |
我发现我错误使用了require.context 这个api,导致路由也会失效。至于dayjs,后来没用了,也暂时没办法验证了。 |
|
感觉很奇妙:
create-react-app 安装antdesign ,用 react-app-rewired 添加插件,config-overrides.js中配置addWebpackPlugin( new AntdDayjsWebpackPlugin() ) 会导致:npm run start 的默认页面停留在http://localhost:3000/ , 不会自动转到http://localhost:3000/#/ 。去掉插件就没问题了。。。
The text was updated successfully, but these errors were encountered: