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

custom-wrapper not found,taro版本3.1.4 #8989

Closed
yaobowen2 opened this issue Mar 30, 2021 · 4 comments · Fixed by #9261
Closed

custom-wrapper not found,taro版本3.1.4 #8989

yaobowen2 opened this issue Mar 30, 2021 · 4 comments · Fixed by #9261
Labels
F-vue2 Framework - Vue 2 P-1 High, patch V-3 Version - 3.x
Milestone

Comments

@yaobowen2
Copy link

yaobowen2 commented Mar 30, 2021

复现步骤:

  1. taro init wrapper 创建项目

  2. 新增组件 src/components/comp.vue

  3. src/pages/index/index.vue里引用组件
    image

开发者工具异常:
image

@Chen-jj Chen-jj added P-1 High, patch V-3 Version - 3.x F-vue2 Framework - Vue 2 labels Apr 2, 2021
@Mor-hyq
Copy link

Mor-hyq commented Apr 8, 2021

vue下无法使用这个custom-wrapper吗?

@yaobowen2
Copy link
Author

vue下无法使用这个custom-wrapper吗?

是的,上面有非常简单的复现步骤

@nyrf
Copy link

nyrf commented Apr 9, 2021

custom-wrapper 现在只支持react的吧,我没看vue里有这个组件

@yaobowen2
Copy link
Author

custom-wrapper 现在只支持react的吧,我没看vue里有这个组件

base.wxml里没有tmpl_0_custom-wrapper这个template,也就是说,在vue模式下目前没有去支持custom-wrapper,感觉应该是这样

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-vue2 Framework - Vue 2 P-1 High, patch V-3 Version - 3.x
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants