mili
mili
  • 发布:2020-04-07 15:07
  • 更新:2021-12-29 11:23
  • 阅读:700

子组件components中如何使用插件

分类:uni-app

使用uni-app开发微信小程序:

父组件index.vue 已经在 pages.json中声明:
"pages": [{
"path": "pages/index/index",
"style": {
"usingComponents": {
"txv-video": "plugin://tencentvideo/video"
}
}
}]

在父组件中能正常使用腾讯视频插件。

但是如果子组件中,需要使用腾讯视频插,该怎么声明 usingComponents 呢?需要去那里配置?

2020-04-07 15:07 负责人:无 分享
已邀请:
1***@qq.com

1***@qq.com

题主找到解决方法了嘛

该问题目前已经被锁定, 无法添加新回复