Skip to content

Commit

Permalink
fix bug so app is available as instance attribute with `HTMLWidgets…
Browse files Browse the repository at this point in the history
….find()` #14
  • Loading branch information
timelyportfolio committed Jul 26, 2024
1 parent e7b0a8b commit d8999b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion inst/htmlwidgets/vue3.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ HTMLWidgets.widget({
x.data = function() {return dat};
}

this.instance = Vue.createApp(x).mount(x.el);
this.instance = Vue.createApp(x);
this.instance.mount(x.el);

},

Expand Down

0 comments on commit d8999b2

Please sign in to comment.