We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47c02ce commit 9fba549Copy full SHA for 9fba549
packages/@vuepress/core/lib/client/app.js
@@ -61,7 +61,7 @@ Vue.prototype.$withBase = function (path) {
61
}
62
63
export function createApp (isServer) {
64
- const routerBase = typeof window !== 'undefined'
+ const routerBase = typeof window !== 'undefined' && window.__VUEPRESS_ROUTER_BASE__
65
? window.__VUEPRESS_ROUTER_BASE__
66
: (siteData.routerBase || siteData.base)
67
0 commit comments