From 6b1faaed80ea0fce6c7fb44753a2c3733243e6cc Mon Sep 17 00:00:00 2001
From: Jimmy <9429420+Geminii@users.noreply.github.com>
Date: Tue, 7 Apr 2020 11:11:00 +0200
Subject: [PATCH] feat(vue-renderer): add head `` meta for spa (#7170)
---
packages/vue-renderer/src/renderers/spa.js | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/packages/vue-renderer/src/renderers/spa.js b/packages/vue-renderer/src/renderers/spa.js
index 692ec6b1b1..f31fa66b04 100644
--- a/packages/vue-renderer/src/renderers/spa.js
+++ b/packages/vue-renderer/src/renderers/spa.js
@@ -77,6 +77,11 @@ export default class SPARenderer extends BaseRenderer {
m.script.text() +
m.noscript.text()
+ // Add meta if router base specified
+ if (this.options._routerBaseSpecified) {
+ meta.HEAD += ``
+ }
+
// BODY_SCRIPTS (PREPEND)
meta.BODY_SCRIPTS_PREPEND =
m.meta.text({ pbody: true }) +