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

https://github.com/yash-singh1/monaco-vue3

Monaco Editor inside VueJS 3
https://github.com/yash-singh1/monaco-vue3

Last synced: 3 months ago
JSON representation

Monaco Editor inside VueJS 3

Awesome Lists containing this project

README

        

# `monaco-vue3`

The Monaco Editor for VueJS v3.

## Install

```sh
npm i monaco-vue3
```

## Usage

```vue

import MonacoEditor from 'monaco-vue3';

```

## Props

### `onChange`

- Type: `Function`

Gets a value of the editor whenever it changes.

### `initialValue`

- Type: `string`

Initial value of the editor.

### `config`

- Type: `Object`

More configuration to be passed to Monaco Editor.