https://github.com/microsoft/monaco-editor

demo

https://microsoft.github.io/monaco-editor/

vue2说明

https://www.jb51.net/article/257980.htm

npm install monaco-editor
npm install monaco-editor-webpack-plugin
或者指定版本
#npm install monaco-editor@0.34.1                     #--save-dev
#npm install monaco-editor-webpack-plugin@6.0.0 --save-dev