feat: add code editor

This commit is contained in:
xingyu4j
2025-10-13 14:53:56 +08:00
parent a3a292db80
commit e7f1eb0844
9 changed files with 973 additions and 175 deletions

View File

@@ -14,6 +14,10 @@
"**/*.css"
],
"exports": {
"./code-editor": {
"types": "./src/code-editor/index.ts",
"default": "./src/code-editor/index.ts"
},
"./echarts": {
"types": "./src/echarts/index.ts",
"default": "./src/echarts/index.ts"
@@ -48,6 +52,7 @@
"@vben/utils": "workspace:*",
"@vueuse/core": "catalog:",
"@vueuse/motion": "catalog:",
"codemirror": "catalog:",
"echarts": "catalog:",
"markdown-it": "catalog:",
"markmap-common": "catalog:",
@@ -59,6 +64,7 @@
"vxe-table": "catalog:"
},
"devDependencies": {
"@types/codemirror": "catalog:",
"@types/markdown-it": "catalog:"
}
}