mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
Update Empty guid (#3429)
This commit is contained in:
parent
92a3484cb9
commit
87c6ef6d9e
@ -6,13 +6,16 @@
|
|||||||
|
|
||||||
### 引入
|
### 引入
|
||||||
|
|
||||||
```js
|
在`app.json`或`index.json`中引入组件,默认为`ES6`版本,`ES5`引入方式参见[快速上手](#/quickstart)
|
||||||
import Vue from 'vue';
|
|
||||||
import { Empty } from 'vant';
|
|
||||||
|
|
||||||
Vue.use(Empty);
|
```json
|
||||||
|
"usingComponents": {
|
||||||
|
"van-empty": "@vant/weapp/empty/index"
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> Vant Weapp 1.0 版本开始支持此组件,升级方式参见[快速上手](#/quickstart)
|
||||||
|
|
||||||
## 代码演示
|
## 代码演示
|
||||||
|
|
||||||
### 基础用法
|
### 基础用法
|
||||||
|
Loading…
x
Reference in New Issue
Block a user