microsoft / monaco-editor

A browser based code editor
https://microsoft.github.io/monaco-editor/
MIT License
40.57k stars 3.61k forks source link

Does the editor support Angular 8 #1594

Closed vijaychebrolu closed 1 year ago

vijaychebrolu commented 5 years ago

We are working on Angular 8 web app in a .net core 2.2 solution and need your help to integrate Monaco editor in our app. We tried to install the npm package as detailed in https://www.npmjs.com/package/monaco-editor. But we are getting errors while installing the package. Does the editor support angular 8 and if yes, any reference to samples plz.

NothingEverHappens commented 5 years ago

Yes, it should work, here are some examples of existing components wrapping Monaco for Angular: https://github.com/atularen/ngx-monaco-editor#readme https://github.com/courage007/Angular-Monaco-Editor

pavangayakwad commented 3 years ago

Tried both recommendations above but they are fragile and didn't work well with Angular CLI 12.

Just don't waste time, use this: https://www.npmjs.com/package/@ng-util/monaco-editor

Highly recommended!