vue eslint error ‘process‘ is not defined no-undef 报错
vue eslinterror'process' is not definedno-undef报错在.eslintrc.js中添加"globals": {"Atomics": "readonly","SharedArrayBuffer": "readonly","process": true},重启项目即可
·
vue eslint error 'process' is not defined no-undef 报错
在.eslintrc.js中添加
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly",
"process": true
},
重启项目即可
更多推荐
已为社区贡献3条内容
所有评论(0)