idea/webstrom启动Vue报错You may use special comments to disable some warnings.

进入项目build文件夹中找到webpack.base.conf.js

注释掉const createLintingRule = () => ({})里面的东西,这个方法不能注释,否则报错

idea/webstrom启动Vue报错You may use special comments to disable some warnings._第1张图片

之后重新启动项目npm run dev就可以了

你可能感兴趣的:(IntelliJ,IDEA开发工具,Vue.js)