A modern vue admin. It is based on Vue3, vite and TypeScript. It's fast!
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.
 
 
 
 
 
金毛88 0eb72ca4fd feat: add useTDesignDesignTokens 1 month ago
..
access chore: release 5.7.0 4 months ago
common-ui chore: 升级 shadcn-vue 组件到v4最新版 (#7972) 1 month ago
hooks feat: add useTDesignDesignTokens 1 month ago
layouts feat: 偏好设置的快捷键列表追加ESC快捷键的控制(关闭当前窗口) (#7947) 2 months ago
plugins style: apply vsh lint formatting (#7923) 2 months ago
request fix: fix lint && typecheck 2 months ago
README.md refactor: adjust all sample pages and use page components (#4118) 2 years ago

README.md

Effects 目录

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

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

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