0
点赞
收藏
分享

微信扫一扫

warning: Require self-closing on Vue.js custom components

错误提示:

2 warnings found.
2 warnings potentially fixable with the `--fix` option.

Module Warning (from ./node_modules/eslint-loader/index.js):
warning: Require self-closing on Vue.js custom components () (vue/html-self-closing) at src\views\components-demo\json-editor.vue:3:5:
1 |
6 |

解决办法:

 

错误代码:

 

正确代码:

    

 


举报

相关推荐

0 条评论