diff --git a/playground/index.html b/playground/index.html
index ac36907aeb7a3e..2756476e249f6c 100644
--- a/playground/index.html
+++ b/playground/index.html
@@ -1,3 +1,12 @@
-
-
-
+
+
+
+
+ Vite App
+
+
+
+
+
+
+
diff --git a/src/node/build/buildPluginHtml.ts b/src/node/build/buildPluginHtml.ts
index 7af4e5109ab937..08a251837083dc 100644
--- a/src/node/build/buildPluginHtml.ts
+++ b/src/node/build/buildPluginHtml.ts
@@ -114,6 +114,8 @@ const compileHtml = async (
inlineLimit: number,
resolver: InternalResolver
) => {
+ // @vue/compiler-core doesn't like lowercase doctypes
+ html = html.replace(/