安装 创建官方demo
- 发布:2020-10-28 17:38
- 更新:2024-07-09 12:02
- 阅读:6300
【报Bug】 [Vue warn]: Unknown custom element: <App> - did you register the component correctly?
产品分类: HbuilderX
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: 企业版 LTSC
HBuilderX版本号: 2.9.3
操作步骤:
预期结果:
可以用
可以用
实际结果:
空白,报错
空白,报错
bug描述:
点击运行-浏览器,出来之后是空白。
使用的是官方demo,
重新删除,安装过不下10次了。
chunk-vendors.js:1104 [Vue warn]: Property or method "keepAliveInclude" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.
(found in at D:/Users/Administrator/Documents/HBuilderProjects/Hello/App.vue)
warn @ chunk-vendors.js:1104
chunk-vendors.js:1104 [Vue warn]: Unknown custom element: <App> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
(found in at D:/Users/Administrator/Documents/HBuilderProjects/Hello/App.vue)

app开发人员 (作者)
demo就是官方的所有demo,包括插件市场的所有插件和示例。没有一个运行得起来的,请考虑一下,是否是hx的vue是否和什么冲突了,或者是Windows企业版无法使用,或者是LTSC无法使用。
2020-10-29 14:29
app开发人员 (作者)
我电脑有问题,别的电脑正常。这是bug吧。
2020-10-29 14:30
chenli
回复 app开发人员: 用你电脑编译的项目,把ip(http://192.168.1.100:8080)给同局域网的电脑访问看是否正常
2020-10-29 14:51
app开发人员 (作者)
回复 chenli: 不正常,这报错不是显示的,vue组件没注册吗。自己访问都不正常,怎么局域网能正常,chrome ff 都是显示的vue错误。
2020-10-29 15:04
app开发人员 (作者)
大佬?人呢
2020-10-30 15:46