You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a need that i can append a new monaco to element when a button is clicked. This is my way.
`
<button @click='addMonaco'>add
addMonaco: function() {
let vueClass = Vue.extend(Monaco);
let vueObject = new vueClass({
});
console.log(vueObject)
vueObject.$mount()
console.log(vueObject.$el)
document.getElementById('container').appendChild(vueObject.$el);
},`
result is not satisfied. monaco editor is a tiny black box.(5px,5px). Is There something wrong?
The text was updated successfully, but these errors were encountered:
There is a need that i can append a new monaco to element when a button is clicked. This is my way.
`
<button @click='addMonaco'>add
addMonaco: function() {
let vueClass = Vue.extend(Monaco);
let vueObject = new vueClass({
});
console.log(vueObject)
vueObject.$mount()
console.log(vueObject.$el)
document.getElementById('container').appendChild(vueObject.$el);
},`
result is not satisfied. monaco editor is a tiny black box.(5px,5px). Is There something wrong?
The text was updated successfully, but these errors were encountered: