0.2.5 • Published 2 years ago

@liting-yes/vue-monaco-editor v0.2.5

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Vue Monaco Editor

monaco-editor with vue3

Install

pnpm add @liting-yes/vue-monaco-editor

Usage

import '@liting-yes/vue-monaco-editor/style.css'

MonacoEditor

import MonacoEditor from '@liting-yes/vue-monaco-editor'

or

import { MonacoEditor } from '@liting-yes/vue-monaco-editor'

Props

interface Props {
  language?: string;
  readOnly?: boolean;
  value?: string;
  options?: monaco.editor.IStandaloneEditorConstructionOptions;
}

MonacoDiffEditor

import { MonacoDiffEditor } from '@liting-yes/vue-monaco-editor'

Props

interface Props {
  language?: string;
  theme?: string;
  values?: string[]; // [original text, modified text]
  readOnly?: boolean;
  options?: monaco.editor.IStandaloneDiffEditorConstructionOptions;
}

LICENSE

MIT

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago