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

taro和原生小程序代码混用,打包不同平台模版文件会被编译 #8181

Closed
batsama opened this issue Dec 2, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@batsama
Copy link

batsama commented Dec 2, 2020

这个特性解决了什么问题?

背景:taro和微信原生小程序混用
问题:在打包成字节小程序时,wxml文件会被编译成taro的嵌套模版

这个 API 长什么样?

预期:不被编译,或者能够开发者能够自定义控制

@Chen-jj
Copy link
Contributor

Chen-jj commented Dec 22, 2020

页面配置中,usingComponents 字段写个判断,按环境区分组件引用。

@Chen-jj Chen-jj closed this as completed Dec 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants