[bugfix] Site url

This commit is contained in:
陈嘉涵 2018-02-12 17:44:28 +08:00
parent f990b4c0c8
commit 1dcec743e8
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ module.exports = {
host: '0.0.0.0',
historyApiFallback: {
rewrites: [
{ from: /^\/zanui\/vant\/mobile/, to: '/mobile.html' },
{ from: /^\/zanui\/vant\/examples/, to: '/mobile.html' },
{ from: /^\/zanui\/vant/, to: '/index.html' }
]
},

View File

@ -12,7 +12,7 @@ import docConfig from './doc.config';
export default {
data() {
return {
simulators: [`/zanui/vant/mobile${location.hash}`],
simulators: [`/zanui/vant/examples${location.hash}`],
demoURL: ''
};
},