mirror of
https://github.com/youzan/vant.git
synced 2025-10-15 15:40:52 +00:00
[Doc] ts import plugin (#1230)
This commit is contained in:
@@ -81,6 +81,8 @@ Then you can import components from vant, equivalent to import manually below.
|
||||
import { Button } from 'vant';
|
||||
```
|
||||
|
||||
> If you are using TypeScript,please use [ts-import-plugin](https://github.com/Brooooooklyn/ts-import-plugin) instead
|
||||
|
||||
#### 2. Manually import
|
||||
|
||||
```js
|
||||
|
Reference in New Issue
Block a user