Comments (6)
We discussed it a bit in issue #3 , it's possible to load monaco and this library as AMD in ESM style files. Here is how @pengx17 added it to his project: https://github.com/alauda/ng-monaco-editor/blob/master/src/monaco-provider.service.ts#L160
Here is another example of how to AMD load monaco in Angular projects:
https://github.com/SamVerschueren/ngx-monaco/blob/master/src/services/monaco-editor.service.ts#L27
It's not ESM, but it's still functional.
from monaco-yaml.
Is this still relevant after Monaco-yaml 2.5.1?
I haven't tried since last time, but I'm still interested in getting this to work in the context I was trying to make it work in before.
I'll give it another go soon! 👍
from monaco-yaml.
I m trying to use it with vue monaco and webpack and I cannot make it working properly.
from monaco-yaml.
@WesselKuipers Sorry that I am not actively maintaining this repo any longer due to career change. I think you could still use what is already provided with AMD solution.
from monaco-yaml.
Is this still relevant after Monaco-yaml 2.5.1?
from monaco-yaml.
@WesselKuipers is my coworker and I know for a fact this is working in our project.
from monaco-yaml.
Related Issues (20)
- how to use `yaml` as an embedded language HOT 4
- Autompletion not working in Example HOT 2
- support prettier v3 HOT 2
- configureyaml is not working with @monaco-editor/react HOT 12
- References fail to resolve when using locally defined schema with `enableSchemaRequest` set to false HOT 1
- Ability to tweak autocompletion HOT 1
- monaco-yaml在销毁的时候调用dispose()后控制台报错 HOT 1
- [ BUG ] Next.JS 14.1 Can't load worker file HOT 1
- [ NEED HELP ] window is not defined on NextJS 14.1.0 HOT 3
- How to load with @monaco-editor/loader? HOT 1
- Does this library is support with monaco editor AMD version HOT 4
- Enum autocomplete didn't put string inside quote HOT 1
- Uncaught (in promise) Error: Worker manager has been disposed HOT 3
- The error message for the enumeration type is incorrect HOT 2
- Error since 5.2.0 / "export 'toSelectionRanges' (imported as 'toSelectionRanges') was not found in 'monaco-languageserver-types'" HOT 2
- Yaml worker can't read properties of undefined HOT 4
- Missing this package “monaco-marker-data-provider” HOT 8
- Is it possible to detect multiple schemas in one editor? HOT 1
- toSelectionRanges was not found in 'monaco-languageserver-types' HOT 1
- Error `toSelectionRanges` is not exported HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from monaco-yaml.