Blogger Information
Blog 26
fans 0
comment 0
visits 21526
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
关闭selint 的方式
default
Original
1356 people have browsed it

关闭selint 的方式
在项目根目录新建一个 vue.config.js 的文件 写入以下代码 lintOnSave:false, 再重启 vue

  1. //关闭selint
  2. module.exports = {
  3. lintOnSave:false,
  4. devServer:{
  5. overlay:{
  6. warnings:true,
  7. errors:true
  8. }
  9. }
  10. }

然后 用 npm run lint 来修正写的代码

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post