Closed Zehir closed 1 year ago
Nevermind I found by reading the loader code;
There is how to do it
export const install: UserModule = ({ app }) => {
monaco.languages.json.jsonDefaults.setDiagnosticsOptions({
...monaco.languages.json.jsonDefaults.diagnosticsOptions,
enableSchemaRequest: true,
})
loader.config({ monaco })
loader.init()
app.use(VueMonacoEditorPlugin, {})
}
Hello,
I am trying to enable SchemaRequest of the JSON language and tried this :
But this don't seems to work, what is the correct way to do it ?
Thanks