-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
prebundle会造成vue3实例化2次,导致应用报 Missing ref owner
#12340
Comments
taro-bot2
bot
added
F-vue3
Framework - Vue 3
T-weapp
Target - 编译到微信小程序
V-3
Version - 3.x
labels
Aug 21, 2022
prebundle 特性并不会多次引入 vue 导致应用多次实例化
|
@ZakaryCode https://github.com/agileago/taro-bug 顺便提一下, vue3的tsx类型定义文件是错的
|
4 tasks
下一个版本修复,当前可以参考下面配置修复: prebundle: {
enable: true,
include: ['vue']
}
|
下一个版本是3.6么?我看3.5.5没包含这个 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
微信小程序
复现仓库
https://github.com/vue3-oop/taro-plugin
小程序基础库: 2
使用框架: Vue 3
复现步骤
pnpm i
进入 playground 里面运行 dev:h5
可在配置里面修改 prebundle的值,观察页面报错
期望结果
打开prebundle正常
实际结果
错误
环境信息
The text was updated successfully, but these errors were encountered: