GitXplorerGitXplorer
Y

monaco-vue3

public
3 stars
0 forks
1 issues

Commits

List of commits on branch main.
Verified
7611734c5c640f04c13d47ef239fa3d907ff12b7

Merge pull request #7 from Yash-Singh1/dependabot/github_actions/actions/setup-node-3.6.0

ggithub-actions[bot] committed 2 years ago
Verified
df68937a888bf2a4a17618d3850aeb55d78ab83e

build(deps): bump actions/setup-node from 3.5.1 to 3.6.0

ddependabot[bot] committed 2 years ago
Verified
4ecec5ac5e0e10e92da6e88c1edcb35de0ebee63

Merge pull request #6 from Yash-Singh1/dependabot/github_actions/actions/setup-node-3.5.1

ggithub-actions[bot] committed 2 years ago
Verified
d5a6f4ddbb5b0145c5cd3bd6a4feefde0336c075

build(deps): bump actions/setup-node from 3.5.0 to 3.5.1

ddependabot[bot] committed 2 years ago
Verified
504afd0d49a814256726da89f8ee03d8e6995c2d

Merge pull request #5 from Yash-Singh1/dependabot/github_actions/actions/setup-node-3.5.0

ggithub-actions[bot] committed 2 years ago
Verified
644f989f52228cf89b381552b2e6f5b808a2c14e

build(deps): bump actions/setup-node from 3.4.1 to 3.5.0

ddependabot[bot] committed 2 years ago

README

The README file for this repository.

monaco-vue3

The Monaco Editor for VueJS v3.

Install

npm i monaco-vue3

Usage

<script setup>
import MonacoEditor from 'monaco-vue3';
</script>

<template>
  <MonacoEditor onChange="onChangeMethod" initialValue="console.log('Hello World!')" />
</template>

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.