mirror of
https://github.com/youzan/vant.git
synced 2026-04-05 02:05:11 +08:00
Doc: add usage guide
This commit is contained in:
@@ -27,6 +27,13 @@ export default {
|
||||
|
||||
## DatetimePicker 时间选择
|
||||
|
||||
### 使用指南
|
||||
``` javascript
|
||||
import { DatetimePicker } from 'vant';
|
||||
|
||||
Vue.component(DatetimePicker.name, DatetimePicker);
|
||||
```
|
||||
|
||||
### 代码演示
|
||||
|
||||
#### 基础用法
|
||||
|
||||
Reference in New Issue
Block a user