Giter Club home page Giter Club logo

Comments (6)

ahmadmu avatar ahmadmu commented on August 22, 2024 2

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.

WesselKuipers avatar WesselKuipers commented on August 22, 2024 1

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.

ad34 avatar ad34 commented on August 22, 2024

I m trying to use it with vue monaco and webpack and I cannot make it working properly.

from monaco-yaml.

pengx17 avatar pengx17 commented on August 22, 2024

@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.

yazaabed avatar yazaabed commented on August 22, 2024

Is this still relevant after Monaco-yaml 2.5.1?

from monaco-yaml.

remcohaszing avatar remcohaszing commented on August 22, 2024

@WesselKuipers is my coworker and I know for a fact this is working in our project.

from monaco-yaml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.