Skip to content

Commit

Permalink
docs: update config
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed Mar 13, 2020
1 parent fd7c1c4 commit 8c57413
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 4 additions & 0 deletions docs/config/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,10 @@ export default {

指定 react app 渲染到的 HTML 元素 id。

注意:

* 如果需要把应用打包成 umd 包导出,需设置 mountElementId 为 `''`

## outputPath

* Type: `string`
Expand Down
4 changes: 4 additions & 0 deletions docs/config/README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,10 @@ export default {

指定 react app 渲染到的 HTML 元素 id。

注意:

* 如果需要把应用打包成 umd 包导出,需设置 mountElementId 为 `''`

## outputPath

* Type: `string`
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/upgrade-to-umi-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ Umi 3 在配置层做了大量精简,以下修改以字母排序,便于查
+ background: url(~@/assets/logo.png);

# 三方库
- @import url(foo/bar.css');
- @import url(~foo/bar.css');
- @import url(foo/bar.css);
+ @import url(~foo/bar.css);
```

## 遇到问题
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/upgrade-to-umi-3.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ Umi 3 在配置层做了大量精简,以下修改以字母排序,便于查
+ background: url(~@/assets/logo.png);

# 三方库
- @import url(foo/bar.css');
+ @import url(~foo/bar.css');
- @import url(foo/bar.css);
+ @import url(~foo/bar.css);
```

## 遇到问题
Expand Down

0 comments on commit 8c57413

Please sign in to comment.