mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[bugfix] Site url
This commit is contained in:
parent
f990b4c0c8
commit
1dcec743e8
@ -27,7 +27,7 @@ module.exports = {
|
|||||||
host: '0.0.0.0',
|
host: '0.0.0.0',
|
||||||
historyApiFallback: {
|
historyApiFallback: {
|
||||||
rewrites: [
|
rewrites: [
|
||||||
{ from: /^\/zanui\/vant\/mobile/, to: '/mobile.html' },
|
{ from: /^\/zanui\/vant\/examples/, to: '/mobile.html' },
|
||||||
{ from: /^\/zanui\/vant/, to: '/index.html' }
|
{ from: /^\/zanui\/vant/, to: '/index.html' }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -12,7 +12,7 @@ import docConfig from './doc.config';
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
simulators: [`/zanui/vant/mobile${location.hash}`],
|
simulators: [`/zanui/vant/examples${location.hash}`],
|
||||||
demoURL: ''
|
demoURL: ''
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user