mirror of
https://github.com/youzan/vant.git
synced 2025-10-18 09:24:25 +00:00
feat(cli): add build-site command
This commit is contained in:
@@ -16,9 +16,10 @@ export default {
|
||||
},
|
||||
|
||||
data() {
|
||||
const publicPath = (config.site && config.site.publicPath) || '/';
|
||||
return {
|
||||
config: config.site,
|
||||
simulator: `mobile.html${location.hash}`
|
||||
simulator: `${publicPath}mobile.html${location.hash}`
|
||||
};
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user