jd-opensource / jd-opensource/taro-ui

taro next 引入 taro-ui 编译报错

Open
#1,065 5 comments 0 reactions 1 assignee Claimed by @luckyadam View on GitHub
Dominant language
TypeScript
Stars
4.7k
Forks
740
PR merge metrics
No merged PRs in 30d

Description

### 引入 taro-ui的AtCheckbox组件报错

```js

123

import { AtCheckbox } from 'taro-ui'

```

### 期望行为

### 报错信息

./node_modules/taro-ui/dist/weapp/index.ts
Module not found: Can't resolve './style/index.scss' in '/www/mp/taro-next-todomvc/node_modules/taro-ui/dist/weapp'

### 系统信息

![image](https://user-images.githubusercontent.com/26053904/82173243-13883f00-98ff-11ea-8d52-921bd4ff5af4.png)
taro-ui 2.3.4

### 补充信息

> 如果您有功能上的建议,可以提到 [FeatHub](https://feathub.com/NervJS/taro)
>
> 使用上的问题,欢迎在[「Taro 社区」](https://taro-club.jd.com/)一起交流

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.