首先找到 .eslintrc.js文件
然后在rules中添加以下配置
"vue/html-self-closing": ["error",{
"html": {
"void": "never",
"normal": "any",
"component": "any"
},
"svg": "always",
"math": "always"
}]
微信扫一扫
首先找到 .eslintrc.js文件
然后在rules中添加以下配置
"vue/html-self-closing": ["error",{
"html": {
"void": "never",
"normal": "any",
"component": "any"
},
"svg": "always",
"math": "always"
}]
相关推荐