mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-08-26 16:46:19 +08:00

* chore: define components router
* chore: 组件路由放置到演示路由下
* Revert "chore: 组件路由放置到演示路由下"
This reverts commit 3c24632ad5
.
* chore: typo
* chore: 增加密码强度组件
* chore: 国际化密码强度的菜单
* chore(@vben/web-antd): 迁移文本省略组件
* chore: typo
* chore: 组件命名方式遵从packages
* chore: Optimize the onExpand function
* chore: update css
* chore(@vben/web-antd): optimize the getPosition function
* chore: add ellipsis-text in comm-ui
* chore: 文本省略组件迁移至common-ui
* feat(@vben/common-ui): Tooltip的tip支持style传参
* chore: 优化组件渲染
* chore: 使用css module解决样式冲突
* chore: update props
* chore: 优化css
* chore: rm unuse attr
---------
Co-authored-by: Li Kui <90845831+likui628@users.noreply.github.com>
Effects 目录
effects
目录专门用于存放与副作用相关的代码和逻辑。如果你的包具有以下特点,建议将其放置在 effects
目录下:
- 状态管理:使用状态管理框架
pinia
,并包含处理副作用(如异步操作、API 调用)的部分。 - 用户偏好设置:使用
@vben-core/preferences
处理用户偏好设置,涉及本地存储或浏览器缓存逻辑(如使用localStorage
)。 - 导航和路由:处理导航、页面跳转等场景,需要管理路由变化的逻辑。
- 组件库依赖:包含与特定组件库紧密耦合或依赖大型仓库的部分。
通过将相关代码归类到 effects
目录,可以使项目结构更加清晰,便于维护和扩展。