Vue3 模板无法递归引用:Failed to resolve component: _self

2021-04-13 23:48

在升级vue-3.0.11版本后,出现模板不能递归引用的问题。控制台出现以下警告信息:

[Vue warn]: Failed to resolve component: _self

这时需要将@vue/compiler-sfc也升级到3.0.11版本。也就是vue版本和@vue/compiler-sfc版本应该一致。

github中也有类似的报告:https://github.com/vuejs/vue-next/issues/3577

0791-85271700
QQ咨询:1779755751
QQ交流群:626599871
微信咨询
微信扫码咨询
微信交流群
微信交流群
Powered by UJCMS © 2010-2025 All Rights Reserved
QQ咨询
电话
微信
微信扫码咨询