[Vuejs]-Mount component into DOM with JS in Vue.js

0👍

You can use Dynamic components

<component v-bind:is="myComponent"></component>

And then change the value of myComponent to the component you want to load.

data() {
    return {
        myComponent: 'debug'
    }
}

Will render the debug component

Leave a comment