当我们正常的注册组件,正常的引用组件,还是报错 组件没有正常的注册,如下图:
vue解决组件循环使用报错

解决方法:
将原来的 import xxx from ‘xx/xx/xxx’ components:{ xxx }
更改成: components: { xxx: () => import(“xx/xx/xxx”), },

vue解决组件循环使用报错

相关文章:

  • 2022-12-23
  • 2021-10-17
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-07
  • 2021-11-18
猜你喜欢
  • 2022-12-23
  • 2021-12-31
  • 2021-07-26
  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
  • 2021-04-12
相关资源
相似解决方案