[Vue] RangeError: Maximum call stack size

2023. 1. 26. 10:26Vue

갑자기 컴포넌트를 import 시키는데 error가 나타나는것이다!

컴포넌트 import할 때 error 난적이 없었는데 하다가  stackoverflow에서 역시나 해답을 찾았다.

 

Vue.js "Maximum call stack size exceeded" error. Passing data from parent to child failing

I cannot pass data from parent to child. I am using props, have tried returning data as well - no luck. I have a panel component (which is parent) with data and panelBody component (child) Panel i...

stackoverflow.com

 

1. 현재 있는 Vue의 이름은 가져오는 구성 요소의 이름과 같지 않아야 합니다.

나의 문제는 현재 컴포넌트 name과 import하는 컴포넌트의 name이 같아서 error가 발생하였다!

export default {
  name: "List",
}

name 도 중요한 역할을 하고 있었다!!

 

 

'Vue' 카테고리의 다른 글

[Vue] input[file] 파일 업로드 미리보기  (0) 2023.02.10
[Vue] select 2단  (0) 2023.02.07
[Vue] 프로젝트 배포  (0) 2023.01.11
[Vue] drag  (0) 2023.01.04
[Vue] 팝업창 오늘 그만 보기  (0) 2023.01.04