Skip to content

Commit

Permalink
refactor: element-plus替换为arco design
Browse files Browse the repository at this point in the history
  • Loading branch information
ba1q1 committed May 18, 2023
1 parent 3852415 commit c2d2380
Show file tree
Hide file tree
Showing 18 changed files with 792 additions and 975 deletions.
13 changes: 0 additions & 13 deletions components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,9 @@ declare module '@vue/runtime-core' {
Arrange: typeof import('./src/components/menu/view/arrange.vue')['default']
EditDel: typeof import('./src/components/menu/edit/editDel.vue')['default']
EditMenu: typeof import('./src/components/menu/edit/editMenu.vue')['default']
ElButton: typeof import('element-plus/es')['ElButton']
ElCol: typeof import('element-plus/es')['ElCol']
ElDropdown: typeof import('element-plus/es')['ElDropdown']
ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem']
ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu']
ElIcon: typeof import('element-plus/es')['ElIcon']
ElOption: typeof import('element-plus/es')['ElOption']
ElRow: typeof import('element-plus/es')['ElRow']
ElSelect: typeof import('element-plus/es')['ElSelect']
ElTabPane: typeof import('element-plus/es')['ElTabPane']
ElTabs: typeof import('element-plus/es')['ElTabs']
ElTag: typeof import('element-plus/es')['ElTag']
Expand: typeof import('./src/components/menu/edit/expand.vue')['default']
FontOperation: typeof import('./src/components/menu/view/fontOperation.vue')['default']
Header: typeof import('./src/components/main/header.vue')['default']
IEpCaretBottom: typeof import('~icons/ep/caret-bottom')['default']
InsertBox: typeof import('./src/components/menu/edit/insertBox.vue')['default']
MainEditor: typeof import('./src/components/main/mainEditor.vue')['default']
MinderEditor: typeof import('./src/components/minderEditor.vue')['default']
Expand Down
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
"vue3",
"editor"
],
"peerDependencies": {
"vue": "^3.2.47",
"@arco-design/web-vue": "^2.46.0"
},
"scripts": {
"dev": "vite",
"build": "run-p type-check build-only",
Expand All @@ -22,6 +26,7 @@
"dependencies": {
"@7polo/kity": "2.0.8",
"@7polo/kityminder-core": "1.4.53",
"@arco-design/web-vue": "^2.46.0",
"@element-plus/icons-vue": "^2.1.0",
"coolie.js": "2.4.1",
"deepmerge": "^4.3.1",
Expand All @@ -34,6 +39,7 @@
"vue-router": "^4.1.6"
},
"devDependencies": {
"@arco-plugins/vite-vue": "^1.4.5",
"@iconify-json/ep": "^1.1.10",
"@rollup/plugin-replace": "^5.0.2",
"@rushstack/eslint-patch": "^1.2.0",
Expand All @@ -56,6 +62,7 @@
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.11.0",
"eslint-plugin-vue-scoped-css": "^2.4.0",
"less": "^4.1.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"rollup-plugin-visualizer": "^5.9.0",
Expand Down
Loading

0 comments on commit c2d2380

Please sign in to comment.