vue eslint error 'process' is not defined no-undef 报错

在这里插入图片描述在.eslintrc.js中添加

"globals": {
    "Atomics": "readonly",
    "SharedArrayBuffer": "readonly",
    "process": true
},

重启项目即可

Logo

前往低代码交流专区

更多推荐