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

后端 未结 3 1679
轻奢々
轻奢々 2020-12-30 22:33

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 co

3条回答
  •  不思量自难忘°
    2020-12-30 23:12

    The name of the Vue you are in should not equal the name of the component you are importing.

    In my case

    
    
    
    

    The above code was causing the same issue, but when i changed the name of the exported component it worked.

    
    
    
    

    Please check your naming conventions for all future people :)

提交回复
热议问题