0👍
You can manually show html using beforeCreate yada beforeMount.
new Vue({
el: '#editor',
data: {
input: '# hello'
},
beforeCreate: function () {
this.a = "First Value";
console.log("First Value");
},
created: function () {
this.a = "Second Value";
console.log("Second Value");
},
beforeMount: function () {
this.a = "Third Value";
console.log("Third Value");
}
})
- [Vuejs]-How to Add Vue Component as an HTML Tag
- [Vuejs]-Select one component on click from a list of components in Vue.js
Source:stackexchange.com