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

无法导入组件 #2693

Open
ianzone opened this issue Nov 2, 2024 · 1 comment
Open

无法导入组件 #2693

ianzone opened this issue Nov 2, 2024 · 1 comment
Labels
upstream 上游依赖的问题,比如 Taro、小程序或者其他第三方依赖

Comments

@ianzone
Copy link

ianzone commented Nov 2, 2024

NutUI React 包名

@nutui/nutui-react-taro

NutUI React 版本号

2.7.0

平台

weapp

重现链接

https://github.com/ianzone/taro-nut

重现步骤

  1. git clone [email protected]:ianzone/taro-nut.git
  2. 安装依赖
  3. 运行 dev:weapp
  4. 用微信开发者工具查看

期望的结果是什么?

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

实际的结果是什么?

组件未显现

环境信息

Taro CLI 4.0.6 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

其他补充信息

No response

@Alex-huxiyang Alex-huxiyang added the upstream 上游依赖的问题,比如 Taro、小程序或者其他第三方依赖 label Nov 5, 2024
@xiaoyatong
Copy link
Collaborator

模板问题,已反馈给 taro

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream 上游依赖的问题,比如 Taro、小程序或者其他第三方依赖
Projects
None yet
Development

No branches or pull requests

3 participants