Skip to content

Commit

Permalink
fix(vue): correct passing of props and data to components (#17188)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeltintiuc authored and jthoms1 committed Feb 28, 2019
1 parent fa4baf3 commit 2ce4940
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions vue/src/controllers/vue-delegate.ts
Expand Up @@ -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
Expand Down

0 comments on commit 2ce4940

Please sign in to comment.