1.4.0 • Published 3 months ago

@uwu/monaco-svelte v1.4.0

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
3 months ago

Svelte simple-monaco

Please read the main readme here.

<script>
  import Monaco from "@uwu/monaco-svelte";
  import { writable } from "svelte/store";

  let value = writable(""); // Writable<string> | Readable<string>
</script>

<!-- value and lang are required, but not others -->
<Monaco
  {value}
  lang="javascript"
  theme="Monokai"
  readonly={false}
  height="30rem"
  width="20rem"
  otherCfg={{}}
/>

<pre><code>{$value}</code></pre>
1.4.0

3 months ago

1.3.0

4 months ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.0

2 years ago