[Doc] optimzie router & remove unused code (#640)

This commit is contained in:
neverland
2018-02-12 17:23:37 +08:00
committed by GitHub
parent e1123c4116
commit 3991ec3bc9
28 changed files with 154 additions and 230 deletions
+2 -2
View File
@@ -12,14 +12,14 @@ import docConfig from './doc.config';
export default {
data() {
return {
simulators: [`/zanui/vant/examples${location.hash}`],
simulators: [`/zanui/vant/mobile${location.hash}`],
demoURL: ''
};
},
computed: {
base() {
return `/${this.$vantLang}/component`;
return `/${this.$vantLang}`;
},
config() {