Friday, 17 March 2017

Import monaco editor using require js

I have installed monaco-editor using

npm install monaco-editor

now I want to require in my js file

so I have tried to require using

var monaco = require('monaco-editor');

but it is giving me module not found error.

Is there wrong I am doing?



via Sam

No comments:

Post a Comment