vue项目eslint报错:TypeError: Cannot read property ‘range’ of null

问题:

在vue项目中配置动态路由时报错

babel-eslint版本:10.1.0

解决:

在.eslintrc.js中添加配置,然后重新运行,ok!

 

扫码领红包

公众号

头条号