Skip to content

Commit 3364a36

Browse files
authored
Merge pull request #1356 from starriv/next
Update questions.md
2 parents 3fcea1e + 9c1f9cb commit 3364a36

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

packages/taro-ui-docs/markdown/questions.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,24 @@ h5: {
3535
```
3636
:::
3737

38+
## 出现 `Can't resolve './style/index.scss'` 怎么办?
39+
升级至 `taro` 匹配的 `taro-ui` 版本就可以解决
40+
例如 taro 3.x
41+
```json
42+
...
43+
"dependencies": {
44+
"@tarojs/components": "3.2.2-beta.0",
45+
"@tarojs/react": "3.2.2-beta.0",
46+
"@tarojs/runtime": "3.2.2-beta.0",
47+
"@tarojs/taro": "3.2.2-beta.0",
48+
},
49+
...
50+
```
51+
那么需要升级至
52+
```
53+
"taro-ui": "^3.0.0-alpha.3"
54+
```
55+
3856
## 如何自定义样式?
3957

4058
请查看 [「自定义主题」](https://taro-ui.aotu.io/#/docs/customizetheme) 章节

0 commit comments

Comments
 (0)