taro 组件没有打包进小程序

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

相关平台

微信小程序

小程序基础库: 2.31.1
使用框架: Vue 3

复现步骤

删除微信小程序编译后的文件重新编译会出现,更换taro任意版本后直接编译组件会显示

期望结果

微信小程序编译后组件显示

实际结果

微信小程序编译后,组件不显示。查看是组件没有参与编译

环境信息

  1. 👽 Taro v3.6.6
  2. Taro CLI 3.6.6 environment info:
  3. System:
  4. OS: Windows 10 10.0.18362
  5. Binaries:
  6. Node: 16.15.0 - C:\Program Files\nodejs\node.EXE
  7. Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
  8. npm: 8.5.5 - C:\Program Files\nodejs\npm.CMD
  9. npmPackages:
  10. @tarojs/cli: 3.3.16 => 3.6.6
  11. @tarojs/components: 3.3.16 => 3.6.6
  12. @tarojs/helper: 3.3.16 => 3.6.6
  13. @tarojs/plugin-framework-vue3: 3.3.16 => 3.6.6
  14. @tarojs/plugin-html: 3.3.16 => 3.6.6
  15. @tarojs/plugin-platform-alipay: 3.3.16 => 3.6.6
  16. @tarojs/plugin-platform-h5: 3.3.16 => 3.6.6
  17. @tarojs/plugin-platform-jd: 3.3.16 => 3.6.6
  18. @tarojs/plugin-platform-qq: 3.3.16 => 3.6.6
  19. @tarojs/plugin-platform-swan: 3.3.16 => 3.6.6
  20. @tarojs/plugin-platform-tt: 3.3.16 => 3.6.6
  21. @tarojs/plugin-platform-weapp: 3.3.16 => 3.6.6
  22. @tarojs/runtime: 3.3.16 => 3.6.6
  23. @tarojs/shared: 3.3.16 => 3.6.6
  24. @tarojs/taro: 3.3.16 => 3.6.6
  25. @tarojs/webpack5-runner: 3.3.16 => 3.6.6
  26. babel-preset-taro: 3.3.16 => 3.6.6
  27. eslint-config-taro: 3.3.16 => 3.6.6

补充信息

taro更换任意版本后再编译组件会显示

相关问题