vite-plugin-microapp-monaco
v1.0.1
Published
兼容monaco和micro-app的插件
Downloads
4
Maintainers
Readme
vite-plugin-microapp-monaco
兼容monaco和micro-app的插件,monaco和micro-app,在使用滚动条的时候,会出现光标位置选中错误的问题。此插件为了解决这个问题。
Installing
npm install vite-plugin-microapp-monaco
using
import viteMicroAppMonacoPlugin from "vite-plugin-microapp-monaco"
//vite
plugins: [
viteMicroAppMonacoPlugin({
monacoPath:'./node_modules/monaco-editor/esm/vs/base/browser/mouseEvent.js'
}),
]
monacoPath: monaco-editor在子应用中mouseEvent的相对位置,也可以不配,就为默认地址。