An open API service indexing awesome lists of open source software.

https://github.com/krzyzanowskim/monaco-editor-vue-component

MonacoEditor component for Vue.js
https://github.com/krzyzanowskim/monaco-editor-vue-component

Last synced: 3 months ago
JSON representation

MonacoEditor component for Vue.js

Awesome Lists containing this project

README

          

## Install and basic usage

```bash
$ npm i -s monaco-editor-vue-component
```

Register the component:

```js
import MonacoPlugin from 'monaco-editor-vue-component'

const app = createApp(App)
app.use(MonacoPlugin)
app.mount('#app')
```

Use the component:

```vue

import { ref } from "vue";
const sourceCode = ref('// Welcome')


```

## License

[MIT license](LICENSE)