mirror of
https://github.com/youzan/vant.git
synced 2025-10-21 11:17:41 +00:00
fix(create-app): should set name in docs
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
# MyButton 按钮
|
||||
# DemoButton 按钮
|
||||
|
||||
### 介绍
|
||||
|
||||
MyButton 是一个示例按钮组件
|
||||
DemoButton 是一个示例按钮组件
|
||||
|
||||
### 引入
|
||||
|
||||
``` javascript
|
||||
import Vue from 'vue';
|
||||
import { MyButton } from 'demo-ui';
|
||||
import { DemoButton } from '<%= name %>';
|
||||
|
||||
Vue.use(MyButton);
|
||||
Vue.use(DemoButton);
|
||||
```
|
||||
|
||||
## 代码演示
|
||||
|
Reference in New Issue
Block a user