Component name “Home“ should always be multi-word

mistake

insert image description here

solution

Find the eslintrc.js file in the root directory, and configure the verification of the closed name. In this file, find the rules for configuration, as follows:

  rules: {
    
    
    'vue/multi-word-component-names': 'off', // 关闭名称校验
  }

Guess you like

Origin blog.csdn.net/lianghecai52171314/article/details/132389136