Skip to content
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

fix(prebundle): 优化 vue3 与 prebundle 结合 #12362

Merged
merged 10 commits into from
Sep 5, 2022
Merged

fix(prebundle): 优化 vue3 与 prebundle 结合 #12362

merged 10 commits into from
Sep 5, 2022

Conversation

ZakaryCode
Copy link
Contributor

@ZakaryCode ZakaryCode commented Aug 23, 2022

这个 PR 做了什么? (简要描述所做更改)

  • 优化 vue3 组件类型
  • 优化 prebundle 依赖排除提示
  • 优化 vue3 prebundle 包含依赖

这个 PR 是什么类型? (至少选择一个)

这个 PR 涉及以下平台:

  • 所有小程序
  • Web 平台(H5)

@ZakaryCode ZakaryCode requested a review from Chen-jj August 23, 2022 08:01
@ZakaryCode ZakaryCode added the A-runner Area - Webpack runner 相关 label Aug 23, 2022
@ado5
Copy link

ado5 commented Aug 24, 2022

react版本也有这个问题

@ZakaryCode
Copy link
Contributor Author

react版本也有这个问题

该问题是 vue 专属的,如在 react 中有类似现象请在新的 issue 提供相关 demo

packages/taro-plugin-vue2/src/index.ts Outdated Show resolved Hide resolved
@Chen-jj Chen-jj merged commit 887c49a into next Sep 5, 2022
@Chen-jj Chen-jj deleted the fix/vue3 branch September 5, 2022 10:55
KkZsc pushed a commit to KkZsc/taro that referenced this pull request Dec 5, 2022
* fix(types): vue3 components types

* fix(prebundle): 优化提示 & 优化 js 加载配置

* fix(vue): prebundle add vue deps includes

* fix(types): 同步类型文件

* feat(types): support vue tpl fix NervJS#12090

* fix(ci): fix bot update lockfile

* Update index.ts

Co-authored-by: chenjiajian <798095202@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-runner Area - Webpack runner 相关
Projects
None yet
Development

Successfully merging this pull request may close these issues.

prebundle会造成vue3实例化2次,导致应用报 Missing ref owner Template tmpl_0_View not found.
3 participants