[changelog] 2.0.0-beta.0

This commit is contained in:
陈嘉涵
2019-05-22 09:33:31 +08:00
parent cdde0fa5d8
commit ec6820cf31
7 changed files with 229 additions and 4310 deletions

View File

@@ -88,7 +88,7 @@ module.exports = {
```js
// 接着你可以在代码中直接引入 Vant 组件
// 插件会自动将代码转化为方式二中的按需引入形式
import { Button, Cell } from 'vant';
import { Button } from 'vant';
```
> 如果你在使用 TypeScript可以使用 [ts-import-plugin](https://github.com/Brooooooklyn/ts-import-plugin) 实现按需引入