Skip to content

Commit

Permalink
fix(runtime-core): support extends template for runtime compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
edison1105 committed Jul 11, 2022
1 parent 0cf9ae6 commit 7103bde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-core/src/component.ts
Expand Up @@ -788,7 +788,7 @@ export function finishComponentSetup(
(__COMPAT__ &&
instance.vnode.props &&
instance.vnode.props['inline-template']) ||
Component.template
Component.template || instance.ctx.$options.template
if (template) {
if (__DEV__) {
startMeasure(instance, `compile`)
Expand Down

0 comments on commit 7103bde

Please sign in to comment.