ESLint报错“Component name "Temp" should always be multi-word vue/multi-word-component-names”

解决方法有两种:

修改eslint的配置规则:

    "rules": {
      "no-debugger": "off",
      "no-console": "off",
      "vue/multi-word-component-names": "off" //加上这一句尤其关键
    }


Your linter just tells you, that your component name should be a multi word like MyTemp instead of just Temp.

你可能感兴趣的:(ESLint报错“Component name "Temp" should always be multi-word vue/multi-word-component-names”)