admin-vben/packages/effects
vben 7eff46d80c 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
..
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): business changed its name to effects, and universal-ui changed its name to common-ui 2024-07-13 17:25:15 +08:00
layouts 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
README.md 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

README.md

effects

用于存放与副作用相关的代码和逻辑。如果你的包有下面的特点,那么你可以考虑将其放在 effects 目录下:

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