mirror of
https://github.com/youzan/vant.git
synced 2026-05-10 01:06:44 +08:00
[Doc] update install guide (#4083)
This commit is contained in:
@@ -5,7 +5,9 @@
|
||||
The DatetimePicker component is usually used with [Popup](#/en-US/popup) Component.
|
||||
|
||||
### Install
|
||||
|
||||
``` javascript
|
||||
import Vue from 'vue';
|
||||
import { DatetimePicker } from 'vant';
|
||||
|
||||
Vue.use(DatetimePicker);
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
### 引入
|
||||
|
||||
``` javascript
|
||||
import Vue from 'vue';
|
||||
import { DatetimePicker } from 'vant';
|
||||
|
||||
Vue.use(DatetimePicker);
|
||||
|
||||
Reference in New Issue
Block a user