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


 

 

 

 今天用vue做練習畫頁面,用的element-ui,打開瀏覽器提示以上報錯。。。。。。。。。。。。

 

網上各種查找報錯原因,

bundle.js:1352 [Vue warn]: Unknown custom element: <el-container1> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> <App> at src/app.vue
<Root>

 怎么找都沒找到,基本上都是解釋,按需導入,全局導入的區別的。

 

我是按需導入的,沒想到element按需導入這么麻煩,連一個html標簽都要導入,太麻煩了。

 

按照以下導入以后就正常OK了。

 

 

 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



猜您在找 Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.解決方法 Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option. at src/views/index/"> [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in ---> at src/views/index/ vue引入組建報錯Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option. found in vue報錯[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option. VUE報錯解決方法 Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option. [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.問題的解決方法 vue組件注冊錯誤:Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option. 百度地圖API name未定義[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM