We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bc97ff9 commit 4f61d5bCopy full SHA for 4f61d5b
src/compiler/codegen/index.js
@@ -27,7 +27,7 @@ export class CodegenState {
27
this.dataGenFns = pluckModuleFunction(options.modules, 'genData')
28
this.directives = extend(extend({}, baseDirectives), options.directives)
29
const isReservedTag = options.isReservedTag || no
30
- this.maybeComponent = (el: ASTElement) => el.component || !isReservedTag(el.tag)
+ this.maybeComponent = (el: ASTElement) => !!el.component || !isReservedTag(el.tag)
31
this.onceId = 0
32
this.staticRenderFns = []
33
this.pre = false
0 commit comments