Vue提示警告:You may use special comments to disable some warnings.

在前端开发中,遇到Webpack配置文件webpack.base.conf.js中出现的ESLint警告。通过在文件中添加特殊注释,如`//eslint-disable-next-line`或`/*eslint-disable*/`,可以临时禁用特定行或整个文件的警告。按照这个方法修改文件并保存,即可消除警告。
摘要由CSDN通过智能技术生成

前端提示警告:You may use special comments to disable some warnings.

You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.

在这里插入图片描述
找到build目录下的webpack.base.conf.js文件,将其打开,
在这里插入图片描述
注释掉如上代码,保存一下就可以了

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值