[bug fix] Docs: 支持在 windows 下进行编译 (#185)

* support windows filesystem

* fix waterfall docs
This commit is contained in:
Yao 2017-10-11 00:50:12 +08:00 committed by GitHub
parent c0ed30e7be
commit d7d14d6630
3 changed files with 5 additions and 7 deletions

View File

@ -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) {

View File

@ -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"
}
}

View File

@ -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"