Add monaco editor for json editing and diff view (#4)

Reviewed-on: #4
This commit is contained in:
2024-07-17 21:58:09 +09:30
parent 1654824839
commit 12c36be93d
10 changed files with 100 additions and 31 deletions

View File

@@ -13,6 +13,7 @@ import {
MAT_ICON_DEFAULT_OPTIONS,
MatIconRegistry,
} from '@angular/material/icon';
import { provideMonacoEditor } from 'ngx-monaco-editor-v2';
export const appConfig: ApplicationConfig = {
providers: [
@@ -41,5 +42,6 @@ export const appConfig: ApplicationConfig = {
provide: MAT_ICON_DEFAULT_OPTIONS,
useValue: { fontSet: 'material-symbols-rounded' },
},
provideMonacoEditor(),
],
};