Vue
[Vue/ESLint 에러해결] Component name "Something" should always be multi-word.
메이플 🍁
2022. 6. 10. 17:18
⚠️ 에러내용

원문
Component name "Count" should always be multi-word.
해석
컴포넌트 이름 "Count"는 여러 단어로 이루어져야한다
❓ 에러발생이유
ESLint 설정에서 컴포넌트 이름이 한단어로 이루어져 있을 수 없도록 설정했기 때문에 에러가 발생하였다.
❗️ 해결방법
1. ESLint 재설정
'vue/multi-word-component-names': ['error', {
'ignores': ['Home']
}]
2. 컴포넌트이름 두단어 이상으로 변경
