Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sonyarianto/sveltekit-monaco-editor

Simple and quick demo about how to integrate Monaco Editor in SvelteKit. Boring to see all samples mostly on React!
https://github.com/sonyarianto/sveltekit-monaco-editor

javascript monaco-editor svelte sveltekit

Last synced: 2 months ago
JSON representation

Simple and quick demo about how to integrate Monaco Editor in SvelteKit. Boring to see all samples mostly on React!

Awesome Lists containing this project

README

        

# sveltekit-monaco-editor

Simple and quick demo about how to use Monaco Editor in SvelteKit.

## Why?

Why not? I am boring looking all sample Monaco Editor in React. I want to see how it works in SvelteKit.

## How to use?

Clone this repo and run `npm install` to install all dependencies including Monaco Editor.

Then run `npm run dev` to start the dev server.

## Use case

- [x] Use Monaco Editor in SvelteKit.
- [x] As educational material for SvelteKit.
- [x] Good as starter template, since several batteries included (Tailwind CSS etc).

## Demo

https://sveltekit-monaco-editor.vercel.app

## References

- https://dev.to/lawrencecchen/monaco-editor-svelte-kit-572
- https://www.codelantis.com/blog/sveltekit-monaco-editor
- https://github.com/microsoft/monaco-editor/blob/main/samples/browser-esm-vite-react/src/main.tsx (I like this)
- and many others

## License

MIT

Maintained by Sony Arianto Kurniawan <> and contributors.