This repository has been archived by the owner on Dec 12, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 288
1.2.9和1.2.10eslint不正常显示 #129
Labels
Comments
你应该把错误信息贴出来, 而不是这个 |
@lincenying 多一个空行报错: |
|
重装下就好了 |
上周重装了n次没成功,从1.2.5到1.2.10,每一个版本试了2次,1.2.9+都是上述问题,本周卸载重装1.2.10,神奇地好了,好神奇! |
我也没找到到底哪个依赖升级导致的,本来我的也有问题,升级依赖就好了... |
@QingWei-Li 不知道是我写的有问题,还是vue-router文档有问题, // 分块,异步加载(切换有问题)
const a = resolve => require(['src/components/wx/a.vue'], resolve);
// 分块,同步加载,切换正常
const a = require('bundle-loader!src/components/wx/a.vue');
// 分块,异步加载,切换正常
const a = resolve => {
require.ensure(['src/components/wx/a.vue'], () => {
resolve(require('src/components/wx/a.vue'));
});
}; 如果你看到了这里,能否顺便告知异步组件的打包出来的js的路径怎么修改,直接修改publicPath的话,js和img图片和css图片的地址不就麻烦了 |
@Saopang 请给 demo 项目 |
This was referenced Nov 8, 2022
This was referenced Nov 29, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
windows10
node: 6.2.0
npm: 3.10.8
1.2.8及之前版本正常,
升级到1.2.9之后发现,如果有语法错误(如多了一个空行)会报错
但是,删掉多余空行之后,错误信息不会清空
猜测是这次提交引起的问题:
1adf0cb#diff-4ac32a78649ca5bdd8e0ba38b7006a1e
The text was updated successfully, but these errors were encountered: