引入动态组件报错,增加.eslintrc.js中的rules字段,报错解决
// .vue
{
...
computed: {
someCall() {
return () => import(`@/component/some.vue`)
}
}
}
// TypeError:Cannot read property 'range' of null
// .eslintrc.js
...
rules : {
"template-curly-spacing" : "off",
indent : "off"
}
 
                         
                                

