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:
@@ -29,6 +29,13 @@
|
||||
|
||||
## Panel 面板
|
||||
|
||||
### 使用指南
|
||||
``` javascript
|
||||
import { Panel } from 'vant';
|
||||
|
||||
Vue.component(Panel.name, Panel);
|
||||
```
|
||||
|
||||
### 代码演示
|
||||
|
||||
#### 基础用法
|
||||
|
||||
Reference in New Issue
Block a user