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 3.0根据文档导入支付宝提示找不到节点 #226

Closed
liuyunzyj opened this issue Dec 8, 2020 · 9 comments
Closed

taro 3.0根据文档导入支付宝提示找不到节点 #226

liuyunzyj opened this issue Dec 8, 2020 · 9 comments
Labels
question Further information is requested

Comments

@liuyunzyj
Copy link

https://jin-yufeng.gitee.io/parser/#/instructions?id=%e5%9c%a8-taro-%e4%b8%ad%e4%bd%bf%e7%94%a8
image

@jin-yufeng
Copy link
Owner

3.x 的引入方式变了吧,直接看 taro官方文档

@liuyunzyj
Copy link
Author

改成那样也不行

@liuyunzyj
Copy link
Author

把引入方式写在XX.config.ts里咯,支付宝不行,微信小程序可以

@jin-yufeng
Copy link
Owner

编译到支付宝的时候换成支付宝的组件包了没有

@liuyunzyj
Copy link
Author

肯定换了呀

@jin-yufeng
Copy link
Owner

那你应该问 taro,我也不知道

@liuyunzyj
Copy link
Author

.....................................

@jin-yufeng
Copy link
Owner

我试了一下,直接在页面上是能引用到组件的

微信截图_20201213174057

但是 taro 通过 import 引入对应的模板,估计是支付宝 import 里引用不了自定义组件吧,然后就出现元素不存在的问题了
这个问题我这里是解决不了的

@jin-yufeng jin-yufeng added the question Further information is requested label Dec 26, 2020
@jin-yufeng
Copy link
Owner

taro 3.1 可以解决 #7309

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants