0.0.2 • Published 2 years ago

monaco-kaco v0.0.2

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

Monaco Kaco

Kaco language plugin for Monoco Editor. Provides the following features in future:

  • Syntax highlighting
  • Code completion
  • Validation: Syntax errors and linting
  • Hovers

Try it out

Try the editor out on website.

Usage

Sample project

$ yarn install
$ yarn run serve

NPM

Install

$ yarn add monaco-kaco

Quick Start

import Vue from 'vue';
import MonacoKaco from 'monaco-kaco';
import 'monaco-kaco/lib/index.css';

Vue.use(MonacoKaco);

Attributes

AttributeDescriptionTypeDefault
themeMonaco editor initial themestring'vs-dark'
valueThe initial value of the auto created model in the editorstring

Methods

MethodDescriptionType
getValueGet editor model value() => string