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 是否已经支持了 unplugin-auto-import/webpack,plugins要怎么配置啊? #14214

Closed
J1angyue opened this issue Jul 21, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@J1angyue
Copy link

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

unplugin-auto-import/webpack 是否能自动导入?
plugins要怎么配置啊?
不写重复的 taro api 导入代码,提升开发体验

这个 API 长什么样?

不写重复的 taro api 导入代码,提升开发体验

@TheKonka
Copy link
Member

https://blog.csdn.net/weixin_39786582/article/details/131154321
百度出来的结果,试试可以不?

@J1angyue
Copy link
Author

https://blog.csdn.net/weixin_39786582/article/details/131154321 百度出来的结果,试试可以不?

谢谢同志,链接里仅仅是 vue和nutui的api自动引入,没有taro的

@eiinu
Copy link
Contributor

eiinu commented Aug 7, 2023

unplugin-auto-import 提供一套类似于 uni-app 这种接口列表,应该就可以实现

@TheKonka
Copy link
Member

#11899
unplugin/unplugin-auto-import#201
相关,我觉得 taro 不会去专门为 unplugin-auto-import 维护一个 json

@ZakaryCode
Copy link
Contributor

相关,我觉得 taro 不会去专门为 unplugin-auto-import 维护一个 json

web 端提供给 babel 的 json 应该可用?

@Chen-jj Chen-jj closed this as completed Apr 15, 2024
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

5 participants