1
0
mirror of https://gitee.com/vant-contrib/vant.git synced 2025-04-06 03:57:59 +08:00

[Doc] fix manually import

This commit is contained in:
陈嘉涵 2018-02-09 11:21:18 +08:00
parent bdd68060b4
commit 6ac8a8d2c0
4 changed files with 4 additions and 4 deletions

@ -62,7 +62,7 @@ import { Button } from 'vant';
#### 2. Manually import
```js
import { Button } from 'vant/lib/button';
import Button from 'vant/lib/button';
import 'vant/lib/vant-css/base.css';
import 'vant/lib/vant-css/button.css';
```

@ -59,7 +59,7 @@ import { Button } from 'vant';
#### 方式二. 按需引入组件
```js
import { Button } from 'vant/lib/button';
import Button from 'vant/lib/button';
import 'vant/lib/vant-css/base.css';
import 'vant/lib/vant-css/button.css';
```

@ -34,7 +34,7 @@ import { Button } from 'vant';
#### 2. Manually import
```js
import { Button } from 'vant/lib/button';
import Button from 'vant/lib/button';
import 'vant/lib/vant-css/base.css';
import 'vant/lib/vant-css/button.css';
```

@ -32,7 +32,7 @@ import { Button } from 'vant';
#### 方式二. 按需引入组件
```js
import { Button } from 'vant/lib/button';
import Button from 'vant/lib/button';
import 'vant/lib/vant-css/base.css';
import 'vant/lib/vant-css/button.css';
```