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

feat: Dumi 支不支持Taro ? #2034

Closed
beMySun opened this issue Feb 29, 2024 · 4 comments
Closed

feat: Dumi 支不支持Taro ? #2034

beMySun opened this issue Feb 29, 2024 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@beMySun
Copy link

beMySun commented Feb 29, 2024

What problem does this feature solve?

最近在使用 Dumi 搭建业务组件库, 有部分组件需要使用 Taro 实现, 但是没有发现相关特性。

请问官方是否可以支持在 Dumi 中兼容 Taro 组件的开发?

Possible Solution (optional)

可能的实现:

  • 实现一个 babel 插件, 以便正确编译 Taro 组件。
  • Dumi 底层使用了 Umi,而 Umi 使用了 Webpack。可能需要在项目的配置文件中添加一些针对 Taro 的配置,比如添加 Taro 的 loader。
@beMySun beMySun added the enhancement New feature or request label Feb 29, 2024
@PeachScript
Copy link
Member

目前没有精力做技术栈的扩充,你有兴趣的话可以自定义技术栈实现 Taro 的接入,建议先搞个 RFC

自定义技术栈简单文档:https://d.umijs.org/plugin/api#registertechstack
Vue.js 技术栈支持:#1922
Vue.js 技术栈支持的讨论:#1959

@PeachScript PeachScript added the help wanted Extra attention is needed label Mar 7, 2024
Copy link

github-actions bot commented Mar 7, 2024

Hello @beMySun. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please be sure to fill in the default template in the Pull Request, provide changelog/documentation/test cases if needed and make sure CI passed, we will review it soon. We appreciate your effort in advance and looking forward to your contribution!

你好 @beMySun,我们完全同意你的提议/反馈,欢迎直接在此仓库创建一个 Pull Request 来解决这个问题。请务必填写 Pull Request 内的预设模板,提供改动所需相应的 changelog、测试用例、文档等,并确保 CI 通过,我们会尽快进行 Review,提前感谢和期待您的贡献。

@beMySun
Copy link
Author

beMySun commented Mar 7, 2024 via email

@PeachScript PeachScript closed this as not planned Won't fix, can't repro, duplicate, stale Mar 24, 2024
@beMySun
Copy link
Author

beMySun commented Mar 24, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants