Company logo
  • Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Plans
    • Assessments
    • Payroll
    • Blog
    • Sales
    • Calculator

0

68
Views
Dynamic imports in monaco-editor

How can I dynamically call addExtraLibs in monaco-editor with content from custom source?

So when user typed import {} from "somelib" I got some event or hook where I could call axios.get("/libs", {params: "somelib"}) from where I got somelib source code and add it to editor.

What other way additional to monaco-editor could help me to implement this?

7 months ago ยท Juan Pablo Isaza
Answer question
Find remote jobs