mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
[bugfix] Site url
This commit is contained in:
@@ -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' }
|
||||
]
|
||||
},
|
||||
|
@@ -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: ''
|
||||
};
|
||||
},
|
||||
|
Reference in New Issue
Block a user