How to compile template loaded from API in Vue.js

We recently had an unusual task at NubiSoft where we had to fetch the Vue.js component template from a database. This could be an easy task if it were plain HTML. It is enough then to use the v-html directive, which allows us to dynamically render any part of HTML code. Imagine that we have a GET endpoint that returns an object with template and dataset with customers: As you can see […]