Browse Source

build: unexpected token when running dev (#11704)

dev
Mitchell Bryson 4 years ago
committed by GitHub
parent
commit
690374bdc1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/core/vdom/create-component.js

6
src/core/vdom/create-component.js

@ -206,8 +206,10 @@ export function createComponent (
}
export function createComponentInstanceForVnode (
vnode: any, // we know it's MountedComponentVNode but flow doesn't
parent: any // activeInstance in lifecycle state
// we know it's MountedComponentVNode but flow doesn't
vnode: any,
// activeInstance in lifecycle state
parent: any
): Component {
const options: InternalComponentOptions = {
_isComponent: true,

Loading…
Cancel
Save