From: skirtle <65301168+skirtles-code@users.noreply.github.com> Date: Mon, 27 May 2024 10:01:25 +0000 (+0100) Subject: dx(runtime-core): log the component object when warning about missing template/render... X-Git-Tag: v3.4.28~70 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d4e5750ba577865ad4fab4f812a8339915fa08e;p=thirdparty%2Fvuejs%2Fcore.git dx(runtime-core): log the component object when warning about missing template/render function (#10263) --- diff --git a/packages/runtime-core/src/component.ts b/packages/runtime-core/src/component.ts index 6f30053cfc..3481fc3385 100644 --- a/packages/runtime-core/src/component.ts +++ b/packages/runtime-core/src/component.ts @@ -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) } } }