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

无法加载 nutui 组件 #16817

Open
ianzone opened this issue Nov 6, 2024 · 5 comments
Open

无法加载 nutui 组件 #16817

ianzone opened this issue Nov 6, 2024 · 5 comments

Comments

@ianzone
Copy link

ianzone commented Nov 6, 2024

相关平台

微信小程序

复现仓库

git@github.com:ianzone/taro-nut.git
小程序基础库: 4.0.7
使用框架: React

复现步骤

git clone git@github.com:ianzone/taro-nut.git
安装依赖
运行 dev:weapp
用微信开发者工具查看

期望结果

微信开发者工具中可以看到 Button 组件

实际结果

组件未显现

环境信息

Taro CLI 4.0.7 environment info:
    System:
      OS: Windows 11 10.0.26100
    Binaries:
      Node: 20.18.0 - C:\Program Files\nodejs\node.EXE
      npm: 10.8.2 - C:\Program Files\nodejs\npm.CMD
    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-html: ^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-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
      react: ^18.3.1 => 18.3.1

补充信息

nutui 说是上游问题 jdf2e/nutui-react#2693

@liuseen-l
Copy link

用taro3版本吧,4我也遇到这个问题,3是好的

@ianzone
Copy link
Author

ianzone commented Nov 8, 2024

用taro3版本吧,4我也遇到这个问题,3是好的

这么大的厂,项目维护也太不上心了。。

This was referenced Nov 9, 2024
@WuJiY
Copy link

WuJiY commented Nov 14, 2024

+1

@qhanw
Copy link

qhanw commented Nov 14, 2024

同问,有解决方案吗?才花了好几天时间对比taro和uni-app,最后,确定选择使用taro来开发小程序,这是要劝退啊😂😂😂😂😂

@liuseen-l
Copy link

同问,有解决方案吗?才花了好几天时间对比taro和uni-app,最后,确定选择使用taro来开发小程序,这是要劝退啊😂😂😂😂😂

可以试试3,感觉3稳定点

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

4 participants