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
- Host: GitHub
- URL: https://github.com/yash-singh1/monaco-vue3
- Owner: Yash-Singh1
- License: mit
- Created: 2022-07-02T22:30:53.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-02T14:01:23.000Z (about 2 years ago)
- Last Synced: 2025-01-22T16:25:34.861Z (4 months ago)
- Language: Vue
- Size: 20.5 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.