mirror of https://github.com/vuejs/core.git
dx(runtime-core): log the component object when warning about missing template/render function (#10263)
This commit is contained in:
parent
56f5692fb6
commit
7d4e5750ba
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue