We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 699492a commit fc99d59Copy full SHA for fc99d59
packages/@vuepress/core/lib/client/app.js
@@ -62,7 +62,7 @@ Vue.prototype.$withBase = function (path) {
62
63
export function createApp (isServer) {
64
const router = new Router({
65
- base: siteData.base,
+ base: window.__VUEPRESS_ROUTE_BASE__ || siteData.base,
66
mode: 'history',
67
fallback: false,
68
routes,
0 commit comments