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 […]

How to handle multiple domains and subdomains in your Nuxt.js project

NuxtJS is a framework based on Vue.js to create applications that can be everything from static landing pages to enterprise web applications. My favorite target is the server-side rendered website. We get all the benefits of the Vue.js ecosystem with SEO optimization and static page speed on different devices. One of the not obvious part for of Nuxt for typical Vue.js developer is router configuration: Nuxt.js automatically generates the vue-router configuration […]