You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
chewenye ea776aa710
types: 扩展user-dropdown组件的menus类型,支持iconify (#6283)
7 months ago
..
access feat: support for hybrid permission access control mode (#6294) 8 months ago
common-ui feat: ellipsis text automatically displays tooltip based on ellipsis (#6244) 8 months ago
hooks fix(use-design-tokens): 完善element-plus暗色主题颜色 (#6224) 8 months ago
layouts types: 扩展user-dropdown组件的menus类型,支持iconify (#6283) 7 months ago
plugins fix: 修复使用useVbenVxeGrid配置hasEmptyText、hasEmptyRender不生效的问题 (#6310) 8 months ago
request chore: release v5.5.6 8 months ago
README.md refactor: adjust all sample pages and use page components (#4118) 1 year ago

README.md

Effects 目录

effects 目录专门用于存放与轻微耦合相关的代码和逻辑。如果你的包具有以下特点,建议将其放置在 effects 目录下:

  • 状态管理:使用状态管理框架 pinia并包含处理副作用如异步操作、API 调用)的部分。
  • 用户偏好设置:使用 @vben-core/preferences 处理用户偏好设置,涉及本地存储或浏览器缓存逻辑(如使用 localStorage)。
  • 导航和路由:处理导航、页面跳转等场景,需要管理路由变化的逻辑。
  • 组件库依赖:包含与特定组件库紧密耦合或依赖大型仓库的部分。

通过将相关代码归类到 effects 目录,可以使项目结构更加清晰,便于维护和扩展。