uniapp 生成html5_uni-app生成h5报错

[Vue warn]: Unknown custom element: - did you register the component correctly? For recursive components, make sure to provide the "name" option.

found in

---> at /project/pages/index/index.vue

at pageBody.vue

at index.vue

at index.vue

warn @ vue.runtime.esm.js:593

createElm @ vue.runtime.esm.js:5646

patch @ vue.runtime.esm.js:6170

Vue._update @ vue.runtime.esm.js:2708

updateComponent @ vue.runtime.esm.js:2829

get @ vue.runtime.esm.js:3201

Watcher @ vue.runtime.esm.js:3189

mountComponent @ vue.runtime.esm.js:2836

./packages/@uni-app/h5-vue/dist/vue.runtime.esm.js.Vue.$mount @ vue.runtime.esm.js:8098

init @ vue.runtime.esm.js:4207

createComponent @ vue.runtime.esm.js:5686

createElm @ vue.runtime.esm.js:5633

addVnodes @ vue.runtime.esm.js:5814

updateChildren @ vue.runtime.esm.js:5941

patchVnode @ vue.runtime.esm.js:6015

updateChildren @ vue.runtime.esm.js:5901

patchVnode @ vue.runtime.esm.js:6015

patch @ vue.runtime.esm.js:6175

Vue._update @ vue.runtime.esm.js:2711

updateComponent @ vue.runtime.esm.js:2829

get @ vue.runtime.esm.js:3201

getAndInvoke @ vue.runtime.esm.js:3301

run @ vue.runtime.esm.js:3296

flushSchedulerQueue @ vue.runtime.esm.js:3031

(anonymous) @ vue.runtime.esm.js:1888

flushCallbacks @ vue.runtime.esm.js:1809

Promise.then (async)

microTimerFunc @ vue.runtime.esm.js:1857

nextTick @ vue.runtime.esm.js:1901

queueWatcher @ vue.runtime.esm.js:3123

update @ vue.runtime.esm.js:3286

Vue.$forceUpdate @ vue.runtime.esm.js:2732

forceRender @ vue.runtime.esm.js:2364

(anonymous) @ vue.runtime.esm.js:2374

(anonymous) @ vue.runtime.esm.js:322

(anonymous) @ pages.json:7

Promise.then (async)

(anonymous) @ pages.json:7

resolveAsyncComponent @ vue.runtime.esm.js:2389

createComponent @ vue.runtime.esm.js:4289

_createElement @ vue.runtime.esm.js:4500

createElement @ vue.runtime.esm.js:4437

vm.$createElement @ vue.runtime.esm.js:4572

render @ pages.json:216

Vue._render @ vue.runtime.esm.js:4624

updateComponent @ vue.runtime.esm.js:2829

get @ vue.runtime.esm.js:3201

Watcher @ vue.runtime.esm.js:3189

mountComponent @ vue.runtime.esm.js:2836

./packages/@uni-app/h5-vue/dist/vue.runtime.esm.js.Vue.$mount @ vue.runtime.esm.js:8098

init @ vue.runtime.esm.js:4207

createComponent @ vue.runtime.esm.js:5686

createElm @ vue.runtime.esm.js:5633

patch @ vue.runtime.esm.js:6170

Vue._update @ vue.runtime.esm.js:2708

updateComponent @ vue.runtime.esm.js:2829

get @ vue.runtime.esm.js:3201

Watcher @ vue.runtime.esm.js:3189

mountComponent @ vue.runtime.esm.js:2836

./packages/@uni-app/h5-vue/dist/vue.runtime.esm.js.Vue.$mount @ vue.runtime.esm.js:8098

init @ vue.runtime.esm.js:4207

createComponent @ vue.runtime.esm.js:5686

createElm @ vue.runtime.esm.js:5633

createChildren @ vue.runtime.esm.js:5761

createElm @ vue.runtime.esm.js:5662

patch @ vue.runtime.esm.js:6170

Vue._update @ vue.runtime.esm.js:2708

updateComponent @ vue.runtime.esm.js:2829

get @ vue.runtime.esm.js:3201

Watcher @ vue.runtime.esm.js:3189

mountComponent @ vue.runtime.esm.js:2836

./packages/@uni-app/h5-vue/dist/vue.runtime.esm.js.Vue.$mount @ vue.runtime.esm.js:8098

init @ vue.runtime.esm.js:4207

createComponent @ vue.runtime.esm.js:5686

createElm @ vue.runtime.esm.js:5633

patch @ vue.runtime.esm.js:6209

Vue._update @ vue.runtime.esm.js:2708

updateComponent @ vue.runtime.esm.js:2829

get @ vue.runtime.esm.js:3201

Watcher @ vue.runtime.esm.js:3189

mountComponent @ vue.runtime.esm.js:2836

./packages/@uni-app/h5-vue/dist/vue.runtime.esm.js.Vue.$mount @ vue.runtime.esm.js:8098

../../../../../../project/longtong/main.js @ main.js:18

__webpack_require__ @ bootstrap:767

fn @ bootstrap:130

0 @ index.js:31664

__webpack_require__ @ bootstrap:767

(anonymous) @ bootstrap:903

(anonymous) @ bootstrap:903

报错信息如上 初步判断时 u-web-view 未注册 component

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值