mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[Build] upgrade to webpack-serve (#1056)
This commit is contained in:
@@ -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: ''
|
||||
};
|
||||
},
|
||||
|
Reference in New Issue
Block a user