186 changed files with 109 additions and 106 deletions
@ -1,3 +0,0 @@ |
|||
# business |
|||
|
|||
与业务耦合的 UI 组件库 & SDK,同时也会耦合组件库及大仓依赖,如果你的包或者组件不知道放哪里,可以考虑放到这里。 |
|||
@ -0,0 +1,8 @@ |
|||
# effects |
|||
|
|||
用于存放与副作用相关的代码和逻辑。如果你的包有下面的特点,那么你可以考虑将其放在 effects 目录下: |
|||
|
|||
- 涉及到状态管理框架 pinia,可能包含处理副作用(如异步操作、调用 API)的部分。 |
|||
- 涉及到用户偏好设置 @vben-core/preferences,处理本地存储或浏览器缓存的逻辑使用到了localStorage。 |
|||
- 涉及到导航、页面跳转等场景,包含处理路由变化的逻辑。 |
|||
- 耦合的组件库及大仓依赖 |
|||
@ -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 |
Some files were not shown because too many files changed in this diff
Loading…
Reference in new issue