eslint
BIG_LEE_SHOW
这个作者很懒,什么都没留下…
展开
-
No ESLint configuration found.
使用eslint时报错:No ESLint configuration found.因为使用eslint时,项目目录下默认有一个.eslintrc.js文件如果遇到这个错误,可以在项目下新建一个.eslintrc.js文件,然后进行配置就行了具体配置根据项目配置,附上我的配置供参考module.export = { rout: true, env: { ...原创 2019-06-24 11:05:31 · 6868 阅读 · 0 评论 -
Require self-closing on Vue.js custom components
关于eslint 的报错:Require self-closing on Vue.js custom components如果组件里没有其他组件或内容,做单标签闭合就可以了例如:// 有内容<template> <div>内容</div></template>// 无内容<template> <...原创 2019-06-24 12:20:44 · 8918 阅读 · 0 评论