update doc

This commit is contained in:
陈嘉涵
2017-08-31 10:38:11 +08:00
parent 7574962af6
commit a2a8523da1
6 changed files with 18 additions and 21 deletions
+3 -4
View File
@@ -2,13 +2,12 @@ import Vue from 'vue';
import VueRouter from 'vue-router';
import App from './ExamplesApp';
import routes from './router.config';
import Vant, { Lazyload } from 'packages/index';
import Vant, { Lazyload } from 'packages';
import ZanDoc from 'zan-doc';
import DemoList from './components/demo-list';
import 'packages/vant-css/src/index.css';
import 'zan-doc/src/helper/touch-simulator';
import DemoList from './components/demo-list.vue';
Vue.use(Vant);
Vue.use(ZanDoc);
Vue.use(Lazyload, {
@@ -31,7 +30,7 @@ router.beforeEach((to, from, next) => {
if (container) {
document.querySelector('.examples-container').scrollTop = 0;
}
next()
next();
});
new Vue({ // eslint-disable-line