fudgepop01 / svelte-monaco-editor-example

a basic example of using monaco editor with sveltejs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get workers working

Taha-Firoz opened this issue · comments

I have a project running with vite2 and ran into your repo while trying to get monaco to work. I've gotten Monaco to render and work to some extent by following your method but I'm getting bunch of exceptions relating to workers. Any idea what I can do to fix it up.

@Taha-Firoz I was on a similar quest, and I was also getting various exceptions with this repo. I had better luck starting from this gist, rather than from the REPL as @fudgepop01 did.

Anyway, I got everything working in a SvelteKit app (which uses vite) with this process.

FWIW...