Skip to content
Permalink
Browse files

fix(vue): correct passing of props and data to components (#17188)

  • Loading branch information...
michaeltintiuc authored and jthoms1 committed Feb 28, 2019
1 parent fa4baf3 commit 2ce49407b78a77e7772f4c7a887b792979213498
Showing with 1 addition and 3 deletions.
  1. +1 −3 vue/src/controllers/vue-delegate.ts
@@ -33,9 +33,7 @@ export class VueDelegate implements FrameworkDelegate {

// Get the Vue controller
return createVueComponent(this.vue, component).then((Component: VueConstructor) => {
const componentInstance = new Component({
propsData: opts
});
const componentInstance = new Component(opts);
componentInstance.$mount();

// Add any classes to the Vue component's root element

0 comments on commit 2ce4940

Please sign in to comment.
You can’t perform that action at this time.