mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bug fix] Docs: 支持在 windows 下进行编译 (#185)
* support windows filesystem * fix waterfall docs
This commit is contained in:
parent
c0ed30e7be
commit
d7d14d6630
@ -10,7 +10,7 @@
|
||||
import Vue from 'vue';
|
||||
import { Waterfall } from 'vant';
|
||||
|
||||
Waterfall.install(Vue);
|
||||
Vue.use(Waterfall);
|
||||
```
|
||||
|
||||
#### 局部注册
|
||||
@ -41,12 +41,10 @@ export default {
|
||||
finished: false
|
||||
};
|
||||
},
|
||||
|
||||
directives: {
|
||||
WaterfallLower: Waterfall('lower'),
|
||||
WaterfallUpper: Waterfall('upper')
|
||||
},
|
||||
|
||||
methods: {
|
||||
loadMore() {
|
||||
if (this.list.length >= 50) {
|
||||
|
@ -119,6 +119,6 @@
|
||||
"webpack-bundle-analyzer": "^2.9.0",
|
||||
"webpack-dev-server": "^2.7.1",
|
||||
"webpack-merge": "^4.1.0",
|
||||
"zan-doc": "0.3.1"
|
||||
"zan-doc": "0.3.2"
|
||||
}
|
||||
}
|
||||
|
@ -7913,9 +7913,9 @@ yeast@0.1.2:
|
||||
version "0.1.2"
|
||||
resolved "https://registry.yarnpkg.com/yeast/-/yeast-0.1.2.tgz#008e06d8094320c372dbc2f8ed76a0ca6c8ac419"
|
||||
|
||||
zan-doc@0.3.1:
|
||||
version "0.3.1"
|
||||
resolved "https://registry.yarnpkg.com/zan-doc/-/zan-doc-0.3.1.tgz#f421a90eeb8e399e4257d52f671bffd14efbd28e"
|
||||
zan-doc@0.3.2:
|
||||
version "0.3.2"
|
||||
resolved "https://registry.yarnpkg.com/zan-doc/-/zan-doc-0.3.2.tgz#9493bc1d1a7e99f1316b8f47897de2dbf5b2bd0f"
|
||||
dependencies:
|
||||
cheerio "0.22.0"
|
||||
decamelize "^1.2.0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user