Closed DEAN-Cherry closed 3 months ago
Exception on startup: Unable to load theme https://github.com/TypeFox/monaco-languageclient/issues/574#issue-2008213640
I am facing the similar issue using Vite5 + Vue3 combined with monaco-languageclient due to the way it import .json file
Vite5 + Vue3
.json
Resulting the monaco-editor commutintg with python lsp well but no code highlights nor the vscode theme.
monaco-editor
I have read the previous related Issue https://github.com/TypeFox/monaco-languageclient/issues/574#issue-2008213640 but still don't know how to fix Any help would be appreciated.
Just found new doc here about Vite related problem https://github.com/CodinGame/monaco-vscode-api#if-you-use-vite And it works! Thanks to myself 😄 Sorry to bother, I will close this Issue
Vite
Exception on startup: Unable to load theme https://github.com/TypeFox/monaco-languageclient/issues/574#issue-2008213640
I am facing the similar issue using
Vite5 + Vue3
combined with monaco-languageclient due to the way it import.json
fileResulting the
monaco-editor
commutintg with python lsp well but no code highlights nor the vscode theme.I have read the previous related Issue https://github.com/TypeFox/monaco-languageclient/issues/574#issue-2008213640 but still don't know how to fix Any help would be appreciated.