[Doc] ts import plugin (#1230)

This commit is contained in:
neverland
2018-06-06 19:23:30 +08:00
committed by GitHub
parent 333dedc22c
commit b16342ef00
4 changed files with 9 additions and 1 deletions

View File

@@ -81,6 +81,8 @@ Then you can import components from vant, equivalent to import manually below.
import { Button } from 'vant';
```
> If you are using TypeScriptplease use [ts-import-plugin](https://github.com/Brooooooklyn/ts-import-plugin) instead
#### 2. Manually import
```js