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

把 Taro 组件编译为原生自定义组件——支付宝小程序不展示 #11551

Open
novaalone opened this issue Mar 31, 2022 · 3 comments
Labels
F-react Framework - React T-alipay Target - 编译到支付宝小程序 V-3 Version - 3.x

Comments

@novaalone
Copy link

相关平台

支付宝小程序

复现仓库

https://github.com/novaalone/taro-test-component.git
小程序基础库: 支付宝小程序
使用框架: React

复现步骤

根据官网文档,taro build native-components --type alipay

编译成支付宝小程序原生组件,引入到支付宝小程序项目中

期望结果

正常渲染

实际结果

无法渲染

环境信息

Taro CLI 3.4.4 environment info:
    System:
      OS: macOS 12.3
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 15.14.0 - ~/.nvm/versions/node/v15.14.0/bin/node
      Yarn: 1.22.18 - ~/.nvm/versions/node/v15.14.0/bin/yarn
      npm: 7.7.6 - ~/.nvm/versions/node/v15.14.0/bin/npm
    npmPackages:
      @tarojs/components: 3.4.4 => 3.4.4 
      @tarojs/mini-runner: 3.4.4 => 3.4.4 
      @tarojs/plugin-framework-react: 3.4.4 => 3.4.4 
      @tarojs/react: 3.4.4 => 3.4.4 
      @tarojs/runtime: 3.4.4 => 3.4.4 
      @tarojs/taro: 3.4.4 => 3.4.4 
      @tarojs/webpack-runner: 3.4.4 => 3.4.4 
      babel-preset-taro: 3.4.4 => 3.4.4 
      eslint-config-taro: 3.4.4 => 3.4.4 
      react: ^17.0.0 => 17.0.2 
@taro-bot2 taro-bot2 bot added F-react Framework - React T-alipay Target - 编译到支付宝小程序 V-3 Version - 3.x labels Mar 31, 2022
@bufanpeng
Copy link

请问您解决了吗

@PickPanda
Copy link

请问修复了吗

@Colunmdear
Copy link

请问解决了吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-alipay Target - 编译到支付宝小程序 V-3 Version - 3.x
Projects
None yet
Development

No branches or pull requests

4 participants