参照官方文档:链接
按照官方示例uniapp引入微信小程序组件是可以编译出来,没有报错。但是引入字节跳动小程序组件就报错3个,字节开发工具错误信息:
VM138:2 [TMA] TypeError: Cannot read property 'created' of undefined
[TMA] USER_PAGE_NOT_FOUND_ERROR: Page[pages/index/index] not found. May be caused by: 1. Forgot to add page route in app.json. 2. Invoking Page() in async task.
VM138:2 [TMA] INTERNAL_COMPONENT_NOT_FOUND_ERROR: Component is not found in path "ttcomponents/custom/index" using by "pages/index/index"
引入微信组件正常,代码包wx.zip,引入抖音组件报错,代码包dy.zip,请看一下是什么问题造成的?都是在首页index引入小程序原生组件