mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-26 16:46:19 +08:00
refactor(project): business changed its name to effects, and universal-ui changed its name to common-ui
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
# business
|
||||
|
||||
与业务耦合的 UI 组件库 & SDK,同时也会耦合组件库及大仓依赖,如果你的包或者组件不知道放哪里,可以考虑放到这里。
|
8
packages/effects/README.md
Normal file
8
packages/effects/README.md
Normal file
@@ -0,0 +1,8 @@
|
||||
# effects
|
||||
|
||||
用于存放与副作用相关的代码和逻辑。如果你的包有下面的特点,那么你可以考虑将其放在 effects 目录下:
|
||||
|
||||
- 涉及到状态管理框架 pinia,可能包含处理副作用(如异步操作、调用 API)的部分。
|
||||
- 涉及到用户偏好设置 @vben-core/preferences,处理本地存储或浏览器缓存的逻辑使用到了localStorage。
|
||||
- 涉及到导航、页面跳转等场景,包含处理路由变化的逻辑。
|
||||
- 耦合的组件库及大仓依赖
|
@@ -6,7 +6,7 @@
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/vbenjs/vue-vben-admin.git",
|
||||
"directory": "packages/business/permissions"
|
||||
"directory": "packages/effects/permissions"
|
||||
},
|
||||
"license": "MIT",
|
||||
"type": "module",
|
@@ -6,7 +6,7 @@
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/vbenjs/vue-vben-admin.git",
|
||||
"directory": "packages/business/chart-ui"
|
||||
"directory": "packages/effects/chart-ui"
|
||||
},
|
||||
"license": "MIT",
|
||||
"type": "module",
|
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@vben/universal-ui",
|
||||
"name": "@vben/common-ui",
|
||||
"version": "5.0.0",
|
||||
"homepage": "https://github.com/vbenjs/vue-vben-admin",
|
||||
"bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/vbenjs/vue-vben-admin.git",
|
||||
"directory": "packages/business/universal-ui"
|
||||
"directory": "packages/effects/common-ui"
|
||||
},
|
||||
"license": "MIT",
|
||||
"type": "module",
|
Before Width: | Height: | Size: 8.7 KiB After Width: | Height: | Size: 8.7 KiB |
@@ -6,7 +6,7 @@
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/vbenjs/vue-vben-admin.git",
|
||||
"directory": "packages/business/layouts"
|
||||
"directory": "packages/effects/layouts"
|
||||
},
|
||||
"license": "MIT",
|
||||
"type": "module",
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user