Installation
nge/monaco ships in @cisstech/nge, with
monaco-editor as a peer dependency:
npm i @cisstech/nge monaco-editoryarn add @cisstech/nge monaco-editorHttpClient
Themes are loaded over HTTP, so provide HttpClient at the app root:
import { provideHttpClient } from '@angular/common/http'
bootstrapApplication(AppComponent, {
providers: [provideHttpClient()],
})Where Monaco loads from
The editor sources load from a CDN by default, so the monaco-editor package is only required
when you self-host them. Keep it installed to pin the version you serve.
Next: Usage.