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

【4.x】版本不支持taro-ui\taro-ui-vue3\taroify等UI库 #17078

Open
kimyLee opened this issue Dec 24, 2024 · 4 comments
Open

【4.x】版本不支持taro-ui\taro-ui-vue3\taroify等UI库 #17078

kimyLee opened this issue Dec 24, 2024 · 4 comments

Comments

@kimyLee
Copy link

kimyLee commented Dec 24, 2024

相关平台

微信小程序

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

复现步骤

  1. 升级taro版本至最新: npm install -g @tarojs/cli
  2. 初始化react模版(或vue3模版、taro-ui模版)
  3. 初始化工程并打开
  4. 安装taro-ui组件
  5. 组件无法正常初始化

期望结果

组件正常初始化

实际结果

组件无法初始化,回退taro至3.x版本正常

环境信息

Taro v4.0.8


  Taro CLI 4.0.8 environment info:
    System:
      OS: macOS 15.0.1
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 18.17.0 - /usr/local/bin/node
      Yarn: 1.22.10 - /usr/local/bin/yarn
      npm: 9.6.7 - /usr/local/bin/npm
    npmPackages:
      @tarojs/cli: 4.0.7 => 4.0.7 
      @tarojs/components: 4.0.7 => 4.0.7 
      @tarojs/helper: 4.0.7 => 4.0.7 
      @tarojs/plugin-framework-react: 4.0.7 => 4.0.7 
      @tarojs/plugin-platform-alipay: 4.0.7 => 4.0.7 
      @tarojs/plugin-platform-h5: 4.0.7 => 4.0.7 
      @tarojs/plugin-platform-harmony-hybrid: 4.0.7 => 4.0.7 
      @tarojs/plugin-platform-jd: 4.0.7 => 4.0.7 
      @tarojs/plugin-platform-qq: 4.0.7 => 4.0.7 
      @tarojs/plugin-platform-swan: 4.0.7 => 4.0.7 
      @tarojs/plugin-platform-tt: 4.0.7 => 4.0.7 
      @tarojs/plugin-platform-weapp: 4.0.7 => 4.0.7 
      @tarojs/react: 4.0.7 => 4.0.7 
      @tarojs/runtime: 4.0.7 => 4.0.7 
      @tarojs/shared: 4.0.7 => 4.0.7 
      @tarojs/taro: 4.0.7 => 4.0.7 
      @tarojs/vite-runner: 4.0.7 => 4.0.7 
      babel-preset-taro: 4.0.7 => 4.0.7 
      eslint-config-taro: 4.0.7 => 4.0.7 
      react: ^18.0.0 => 18.3.1 
    npmGlobalPackages:
      typescript: 4.5.2
@CarbonPool
Copy link

+1,我也测试了组件样式表出不来,还有pnpm初始化没有lock文件,会导致很多依赖默认升级最新版本有兼容性问题,不知道官方还在维护不

@Jeff-Tian
Copy link
Contributor

Jeff-Tian commented Dec 26, 2024

我也在用 taro 4.0.8 和 taro-ui,尽管在 dev 模式下,taro-ui 有一些报错(感觉是和 scss 配置相关),但是可以忽略,最终组件是能够正常渲染的。

同时,可以尽量使用 nut-ui,和 4.0.8 版本相处更友好。taro-ui 和 nut-ui 可以同时使用(共存),可以慢慢替换。
image

This was referenced Dec 28, 2024
@xxxifan
Copy link

xxxifan commented Dec 29, 2024

+1, 为了用UI库暂时还用的3.6.25希望UI库能够跟进

@ShaoGongBra
Copy link
Contributor

来试试duxui

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

5 participants