vue-monaco
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -21,2 +21,6 @@ 'use strict'; | ||
model: { | ||
event: 'change' | ||
}, | ||
watch: { | ||
@@ -23,0 +27,0 @@ options: { |
@@ -38,2 +38,6 @@ (function (global, factory) { | ||
model: { | ||
event: 'change' | ||
}, | ||
watch: { | ||
@@ -40,0 +44,0 @@ options: { |
{ | ||
"name": "vue-monaco", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "MonacoEditor component for Vue.js", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -17,4 +17,2 @@ # vue-monaco | ||
Then use the component: | ||
```html | ||
@@ -30,7 +28,11 @@ <script src="/path/to/monaco-editor/min/vs/loader.js"></script> | ||
``` | ||
</details> | ||
</details><br> | ||
Then use the component: | ||
```vue | ||
<template> | ||
<monaco-editor | ||
class="editor" | ||
v-model="code" | ||
@@ -56,2 +58,9 @@ language="javascript"> | ||
</script> | ||
<style> | ||
.editor { | ||
width: 600px; | ||
height: 800px; | ||
} | ||
</style> | ||
``` | ||
@@ -58,0 +67,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9903
183
100