[Build] upgrade to webpack-serve (#1056)

This commit is contained in:
neverland
2018-05-13 09:04:58 +08:00
committed by GitHub
parent d2fe21d45d
commit 3b57e33654
6 changed files with 585 additions and 648 deletions

View File

@@ -11,8 +11,9 @@ import docConfig from './doc.config';
export default {
data() {
const path = location.pathname === '/' ? 'examples.html' : '/zanui/vant/examples';
return {
simulators: [`/zanui/vant/examples${location.hash}`],
simulators: [`${path}${location.hash}`],
demoURL: ''
};
},