mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
[bugfix] Doc: notify 引入路径错误 (#493)
This commit is contained in:
parent
60a5e73baf
commit
5924342247
@ -5,7 +5,7 @@
|
|||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"usingComponents": {
|
"usingComponents": {
|
||||||
"van-notify": "path/to/vant-weap/dist/notify/index"
|
"van-notify": "path/to/vant-weapp/dist/notify/index"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@ -15,7 +15,7 @@
|
|||||||
### 基础用法
|
### 基础用法
|
||||||
|
|
||||||
```js
|
```js
|
||||||
import Notify from 'path/to/zanui-weapp/dist/notify/index';
|
import Notify from 'path/to/vant-weapp/dist/notify/index';
|
||||||
|
|
||||||
Notify('通知内容')
|
Notify('通知内容')
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user