|
@@ -3,7 +3,7 @@ import { ModuleConfig } from "/@/cool";
|
|
|
export default (): ModuleConfig => {
|
|
|
return {
|
|
|
label: "代码编辑器",
|
|
|
- description: "基于 monaco 封装的代码编辑器",
|
|
|
+ description: "基于 monaco 封装的代码编辑器", // https://www.npmjs.com/package/monaco-editor
|
|
|
author: "COOL",
|
|
|
version: "1.0.1",
|
|
|
updateTime: "2024-02-04",
|
|
@@ -14,9 +14,6 @@ export default (): ModuleConfig => {
|
|
|
}
|
|
|
],
|
|
|
|
|
|
- components: [
|
|
|
- // 代码编辑器 https://www.npmjs.com/package/monaco-editor
|
|
|
- () => import("./components/monaco.vue")
|
|
|
- ]
|
|
|
+ components: [() => import("./components/monaco.vue")]
|
|
|
};
|
|
|
};
|