I’m trying to make reusable components for gridstack. I cannot find a simple way to do something similar to this.$compile method from vue 1. I’ve seen this example. Here is my vue script: And here is relevant html: The problem is: that method addGraph works perfectly, when addWid – does not. Even though when inserting as a component directly in