materiahq / ngx-monaco-editor

Monaco Editor Library for Angular v6 and above
MIT License
159 stars 35 forks source link

Followed the steps provided but the monaco editor is not showing #104

Open Myles-Kadusale-Golden opened 2 years ago

Myles-Kadusale-Golden commented 2 years ago

First thanks for all your efforts.

Created an new Angular 13 project I followed the steps provided in the link below but the monaco editor is not showing in my end By the way I stopped the following from "Configure default monaco-editor library path" to the last part https://materiahq.github.io/ngx-monaco-editor/api-reference/index.html

What did I miss?

nesticle8bit commented 1 year ago

Im having the same problem, does not works with reactive forms or ngModel

timvw commented 1 year ago

For me, adding the following asset: { "glob": "*/", "input": "node_modules/monaco-editor", "output": "assets/monaco/" } seems to start at least something...

(The guide says that one should add { "glob": "*/", "input": "node_modules/monaco-editor", "output": "assets/monaco-editor/" }

nikita-fuchs commented 1 year ago

For me, adding the following asset: { "glob": "*/", "input": "node_modules/monaco-editor", "output": "assets/monaco/" } seems to start at least something...

(The guide says that one should add { "glob": "*/", "input": "node_modules/monaco-editor", "output": "assets/monaco-editor/" }

That's strange, because I had "assets/monaco/" and it didn't work, after trying the other variant, `"assets/monaco-editor/", it began working !