taro 求助:项目中的自定义组件,如何打包导出,供其他类似多个项目使用?

yftpprvb  于 9个月前  发布在  其他
关注(0)|答案(1)|浏览(110)

相关平台

微信小程序

小程序基础库: 2.27.3
使用框架: React

复现步骤

none

期望结果

none

实际结果

none

环境信息

  1. 👽 Taro v3.6.7
  2. Taro CLI 3.6.7 environment info:
  3. System:
  4. OS: macOS 13.3.1
  5. Shell: 5.9 - /bin/zsh
  6. Binaries:
  7. Node: 18.9.0 - /usr/local/bin/node
  8. Yarn: 1.22.19 - /usr/local/bin/yarn
  9. npm: 8.19.1 - /usr/local/bin/npm
  10. npmPackages:
  11. @tarojs/cli: 3.6.7 => 3.6.7
  12. @tarojs/components: 3.6.7 => 3.6.7
  13. @tarojs/helper: 3.6.7 => 3.6.7
  14. @tarojs/mini-runner: 3.6.7 => 3.6.7
  15. @tarojs/plugin-framework-react: 3.6.7 => 3.6.7
  16. @tarojs/plugin-platform-alipay: 3.6.7 => 3.6.7
  17. @tarojs/plugin-platform-h5: 3.6.7 => 3.6.7
  18. @tarojs/plugin-platform-jd: 3.6.7 => 3.6.7
  19. @tarojs/plugin-platform-qq: 3.6.7 => 3.6.7
  20. @tarojs/plugin-platform-swan: 3.6.7 => 3.6.7
  21. @tarojs/plugin-platform-tt: 3.6.7 => 3.6.7
  22. @tarojs/plugin-platform-weapp: 3.6.7 => 3.6.7
  23. @tarojs/react: 3.6.7 => 3.6.7
  24. @tarojs/runtime: 3.6.7 => 3.6.7
  25. @tarojs/shared: 3.6.7 => 3.6.7
  26. @tarojs/taro: 3.6.7 => 3.6.7
  27. @tarojs/webpack-runner: 3.6.7 => 3.6.7
  28. babel-preset-taro: 3.6.7 => 3.6.7
  29. eslint-config-taro: 3.6.7 => 3.6.7
  30. react: ^18.0.0 => 18.2.0

补充信息

none

相关问题