반응형
에러
error Component name "Header" should always be multi-word
( 구성 요소 이름 "***"는 항상 여러 단어로 이루어져야 합니다.)
* 해결 *
<script>
export default {
name: "Header", >> 변경 " HeaderItem "
};
</script>
네이밍을 할때는 카멜 케이스, 파스칼 케이스, 케밥 케이스 으로 네이밍 단어를 구분해줘야만 여러 단어로 인식한다!
참고
반응형
'퍼블리싱 로그 > 이슈기록' 카테고리의 다른 글
| Vue2 - You may use special comments to disable some warnings(ESLint 설정) (1) | 2024.04.19 |
|---|---|
| Vue2 - 라우터 설치 오류 (0) | 2024.04.18 |
| Vue2 - warnings potentially fixable with the `--fix` option (0) | 2024.04.17 |
| error - ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet (0) | 2024.03.05 |
| error - Eclipse : 'Failed to create the Java Virtual Machine' (0) | 2024.03.05 |