]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
dx(runtime-core): log the component object when warning about missing template/render...
authorskirtle <65301168+skirtles-code@users.noreply.github.com>
Mon, 27 May 2024 10:01:25 +0000 (11:01 +0100)
committerGitHub <noreply@github.com>
Mon, 27 May 2024 10:01:25 +0000 (18:01 +0800)
packages/runtime-core/src/component.ts

index 6f30053cfc2a65fbc524ca597626618990943631..3481fc3385c77c9a40339982058714434b7f60ee 100644 (file)
@@ -1006,7 +1006,7 @@ export function finishComponentSetup(
                 : ``) /* should not happen */,
       )
     } else {
-      warn(`Component is missing template or render function.`)
+      warn(`Component is missing template or render function: `, Component)
     }
   }
 }