mirror of
https://github.com/youzan/vant.git
synced 2025-10-17 16:44:21 +00:00
docs: adjust quickstart (#7293)
This commit is contained in:
@@ -35,7 +35,7 @@ yarn add vant
|
||||
|
||||
### 1. Import on demand
|
||||
|
||||
Use [babel-plugin-import](https://github.com/ant-design/babel-plugin-import) to import components on demand
|
||||
Use [babel-plugin-import](https://github.com/ant-design/babel-plugin-import) to import components on demand.
|
||||
|
||||
```bash
|
||||
# Install plugin
|
||||
@@ -72,7 +72,7 @@ module.exports = {
|
||||
import { Button } from 'vant';
|
||||
```
|
||||
|
||||
> If you are using TypeScript,please use [ts-import-plugin](https://github.com/Brooooooklyn/ts-import-plugin) instead
|
||||
> If you are using TypeScript,please use [ts-import-plugin](https://github.com/Brooooooklyn/ts-import-plugin) instead.
|
||||
|
||||
### 2. Manually import
|
||||
|
||||
|
Reference in New Issue
Block a user