We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
<base>
1 parent 20f086d commit 6b1faaeCopy full SHA for 6b1faae
packages/vue-renderer/src/renderers/spa.js
@@ -77,6 +77,11 @@ export default class SPARenderer extends BaseRenderer {
77
m.script.text() +
78
m.noscript.text()
79
80
+ // Add <base href=""> meta if router base specified
81
+ if (this.options._routerBaseSpecified) {
82
+ meta.HEAD += `<base href="${this.options.router.base}">`
83
+ }
84
+
85
// BODY_SCRIPTS (PREPEND)
86
meta.BODY_SCRIPTS_PREPEND =
87
m.meta.text({ pbody: true }) +
0 commit comments