前端 BUG 大全

ElementUI 篇

uni-app 篇

Vant 篇

BUG

  • 报错 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the “name” option.
  • 报错截图前端 BUG 大全
  • 问题 使用 Vant 时 , 按照 Vant 官网的介绍 ,在 快速上手→引入组件 中 , 使用方式一.自动按需导入组件(推荐) , 结果报错了
  • 问题代码截图前端 BUG 大全
  • 分析问题 只导入和使用 , 却 没有注册/注册有误 .
  • 解决问题注册一***册方式有点意思)
  • 解决问题代码截图
    前端 BUG 大全

BUG

  • 报错 vue.runtime.esm.js?2b0e:619 [Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the “name” option.
  • 报错截图前端 BUG 大全
  • 问题 使用 Vant 时 , 自动按需导入组件(推荐) , 在用到 Cell 单元格 时 , 已注册 Cell , 依旧报错了
  • 问题代码截图前端 BUG 大全
  • 分析问题没有注册/注册有误 .
  • 解决问题以驼峰式单独注册一下 cell-group
  • 解决问题代码截图前端 BUG 大全