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

缺少支付宝小程序自定义tabbar的相关文档 #106

Open
EricLeeN1 opened this issue Jun 21, 2023 · 2 comments
Open

缺少支付宝小程序自定义tabbar的相关文档 #106

EricLeeN1 opened this issue Jun 21, 2023 · 2 comments

Comments

@EricLeeN1
Copy link

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

3.6.6以上虽然说描述支持了支付宝自定义小程序,
1、但是代码描述类似相关的实现没有文档,不知道如何去配置或者修改。
2、使用支付宝小程序编译时报错
error[Resolve]: cannot resolve module '****/dist/customize-tab-bar/index.axml?'
打包出来的产物并没有customize-tab-bar这个目录只有一个custom-tab-bar目录

这个 API 长什么样?

类似微信小程序自定义tabbar的文档

@taro-bot2 taro-bot2 bot added enhancement New feature or request labels Jun 21, 2023
@EricLeeN1
Copy link
Author

有没有类似demo可以去验证的

@TheKonka
Copy link
Member

image
首先,src 目录下需要有 customize-tab-bar 文件夹

image
然后 app.config 里面配置 tabBar.custom: true

image
这样编译后的产物里面就会也有customize-tab-bar 文件夹

@ZakaryCode ZakaryCode transferred this issue from NervJS/taro Jun 21, 2023
@ZakaryCode ZakaryCode removed the enhancement New feature or request label Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants