jd-opensource / jd-opensource/taro-ui

taro-UI 不支持taro 3.0-beta.6

Open
#1,060 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.7k
Forks
740
PR merge metrics
No merged PRs in 30d

Description

### Taro UI 版本信息

2.3.4

### 问题描述

taro 3.0-beta.6 初始化项目, 引入taro-UI 报错

### 复现步骤

taro init mydome
npm i taro-ui

### 复现代码

taro init mydome
npm i taro-ui

### 报错信息

Module not found: Error: Can't resolve './style/themes/red.scss' in '/Users/jionwu/taro /berryTsDav/node_modules/taro-ui/dist/weapp' Module parse failed: The keyword 'interface' is reserved (9:0)

### 系统信息

👽 Taro v3.0.0-beta.6

Taro CLI 3.0.0-beta.6 environment info:
System:
OS: macOS 10.15.3
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 11.5.0 - /usr/local/bin/node
Yarn: 1.10.1 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
npmPackages:
@tarojs/components: 3.0.0-beta.6 => 3.0.0-beta.6
@tarojs/taro: 3.0.0-beta.6 => 3.0.0-beta.6
@tarojs/webpack-runner: 3.0.0-beta.6 => 3.0.0-beta.6
eslint-config-taro: 3.0.0-beta.6 => 3.0.0-beta.6
react: ^16.10.0 => 16.13.1

wupandeMacBook-Pro:berryTsDav jionwu$

### 补充信息

希望UI能支持taro 3.0的开发

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.