admin-vben/packages/effects
vben 3a91a24e0d feat: tabs adds a variety of style configurations 2024-07-14 18:32:37 +08:00
..
access refactor(project): business changed its name to effects, and universal-ui changed its name to common-ui 2024-07-13 17:25:15 +08:00
chart-ui refactor(project): business changed its name to effects, and universal-ui changed its name to common-ui 2024-07-13 17:25:15 +08:00
common-ui refactor(project): remove the use of core internal bem syntax 2024-07-14 16:32:13 +08:00
layouts feat: tabs adds a variety of style configurations 2024-07-14 18:32:37 +08:00
README.md refactor(project): @vben/vite-connect is reconfigured to support synchronization 2024-07-13 21:13:42 +08:00

README.md

Effects 目录

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

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