diff --git a/packages/server-renderer/src/render.ts b/packages/server-renderer/src/render.ts index 17b5609f..4090ef9f 100644 --- a/packages/server-renderer/src/render.ts +++ b/packages/server-renderer/src/render.ts @@ -353,7 +353,9 @@ function renderTeleportVNode( const target = vnode.props && vnode.props.to const disabled = vnode.props && vnode.props.disabled if (!target) { - warn(`[@vue/server-renderer] Teleport is missing target prop.`) + if (!disabled) { + warn(`[@vue/server-renderer] Teleport is missing target prop.`) + } return [] } if (!isString(target)) {