Replies: 1 comment 9 replies
-
Hi @leezetech yes you can run the client in a static pages. JavaScript must be enabled/available, of course. The language server can either be run inside a web worker (not always possible) or as an externally process the client connects to via web socket. Our examples that don't require a backend are available via GitHub Pages here: An overview of all example you find here: |
Beta Was this translation helpful? Give feedback.
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm very much a newbie to this and would very much appreciate some help. I am currently running the vanilla monaco editor locally and statically in a webview2 control in .NET by simply navigating to the index.html file on the local drive that creates an instance of the editor. The interface is very simple and allows me to to run javascript to get data in/out of the editor between the browser and .NET.
I have been attempting to think about how I might use the language client in this scenario but it appears that the only way to do this would be to run the client wrapper in a node application on a server? Is this true or is there a way to run the language client in a static page?
Many thanks
Beta Was this translation helpful? Give feedback.
All reactions