diff --git a/packages/runtime-core/src/hydration.ts b/packages/runtime-core/src/hydration.ts index 3637a09b2aa..5eb37d457f2 100644 --- a/packages/runtime-core/src/hydration.ts +++ b/packages/runtime-core/src/hydration.ts @@ -150,7 +150,7 @@ export function createHydrationFunctions( } break case Static: - if (domType !== DOMNodeTypes.ELEMENT) { + if (domType !== DOMNodeTypes.ELEMENT && domType !== DOMNodeTypes.TEXT) { nextNode = onMismatch() } else { // determine anchor, adopt content