You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the Monaco editor with Sandpack. Most stuff is working great already, all of files get loaded, get their own monaco-model. I even got prettier to work with Web Workers. But I'm stuck at the linting.
If I want to use the dependencies that I passed into Sandpack, and have been loaded by Sandpack, Monaco of course doesn't know they exist.
How would I approach this?
(Btw: I haven't seen a proper working example yet, that meets these requirements: Typescript, React, Monaco Editor, multiple files, with dependencies and working linting. If you got one, I'd love to see it! :) )
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to use the Monaco editor with Sandpack. Most stuff is working great already, all of files get loaded, get their own monaco-model. I even got prettier to work with Web Workers. But I'm stuck at the linting.
If I want to use the dependencies that I passed into Sandpack, and have been loaded by Sandpack, Monaco of course doesn't know they exist.
How would I approach this?
(Btw: I haven't seen a proper working example yet, that meets these requirements: Typescript, React, Monaco Editor, multiple files, with dependencies and working linting. If you got one, I'd love to see it! :) )
Beta Was this translation helpful? Give feedback.
All reactions