client/Vue

Unknown custom element: <> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

void 2019. 2. 7. 13:40

Unknown custom element: <임포트하려는 컴퍼넌트명 ex) Home> - did you register the component correctly? For recursive components, make sure to provide the "name" option.



컴퍼넌트를 import하였는데, 위와 같은 에러가 발생하였다.


export default {

components: {

Home //임포트하려는 컴퍼넌트명

},



위와 같이 <script>태그내에 있는 컴퍼넌트 속성에 컴퍼넌트를 추가하지 않아서 발생하는 문제였다