-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Migrate to roadhog@2 #542
Migrate to roadhog@2 #542
Conversation
顺便解决一下 #524 吧... |
按页面动态 code splitting?用 umi 啊。 |
关掉code splitting... |
我修改对应的文件 感觉。。。。 不对啊 自动eslint |
@wunayou 貌似体验保持了create-react-app一致,会在文件编译之前自动检查代码格式,并警告。 |
Line 1: Definition for rule 'jsx-a11y/href-no-hash' was not found jsx-a11y/href-no-hash 这个错误 好多啊 |
@wunayou 因为使用的eslint 相关依赖版本不正确
|
这个大概什么时候能merge |
@sorrycc 冲突解决下~ |
done |
.roadhogrc.mock.js 不起作用了 |
你们都无效吗?我试过可以的。 $ curl http://localhost:8000/api/currentUser
{"name":"Serati Ma","avatar":"https://gw.alipayobjects.com/zos/rmsportal/BiazfanxmamNRoxxVxka.png","userid":"00000001","notifyCount":12} |
我这里没问题。 |
手上没有 win 10 机器,帮忙定位下问题?mock 逻辑 2.0 的时候没有动过。 |
正在排查..... |
修复了,试试 roadhog@2.0.5 |
ok了 |
@afc163 你直接提交给主分支吧? |
@sorrycc 升级版本2.0, 开发环境运行一直不成功! |
你应该试试 2.0.5 |
@chenshuai2144 2.0.5 尝试了下也不行! |
@sorrycc @chenshuai2144 错误信息如下:
|
|
@sorrycc Thanks!已解决!.webpackrc配置项autoprefixer没有修改。 |
./src/index.js
|
怎样关闭 编译前的 eslint 检查 |
@jeekliang 建议你fix 掉 eslint 的错误. |
目前项目处于 roadhog 1.x.x -> 2.4.9 我目前 禁止了 代码检查, 但是代码在编译的时候出现了 Module build failed: Error: Cannot find module 'babel-plugin-transform-decorators-legacy' 有什么解决方法吗 |
No description provided.