Unknown custom element: <el-container1> - 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了。