vue-monaco-esm
v0.2.2
Published
vue monaco editor component - for electron
Downloads
4
Readme
vue-monaco-esm
Install
Please check: https://github.com/Microsoft/monaco-editor-webpack-plugin
npm i vue-monaco-esm
Usage
<monaco-editor v-model="code" style="height:10em;border:1px solid #ccc;"></monaco-editor>
import MonacoEditor from 'vue-monaco-esm'
export default {
data(){
return {
code: 'const vm = new Vue({})'
}
},
components: {
MonacoEditor
},
// ...
}