[Doc] deploy to github pages

This commit is contained in:
陈嘉涵
2018-05-28 18:49:41 +08:00
parent 155930192b
commit 0cde378373
6 changed files with 10 additions and 11 deletions
+1 -2
View File
@@ -11,9 +11,8 @@ import docConfig from './doc.config';
export default {
data() {
const path = location.pathname === '/' ? 'examples.html' : '/zanui/vant/examples';
return {
simulators: [`${path}${location.hash}`],
simulators: [`mobile.html${location.hash}`],
demoURL: ''
};
},