feat: 优化代码结构(在Claude的帮助下)
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// 自定义 Vue hooks 导出文件
|
||||
// 这里可以导出所有自定义的 Vue hooks
|
||||
|
||||
// 示例:导出常用的自定义 hooks
|
||||
// export { useLocalStorage } from './useLocalStorage'
|
||||
// export { useDebounce } from './useDebounce'
|
||||
// export { useThrottle } from './useThrottle'
|
||||
// export { useEventListener } from './useEventListener'
|
||||
// export { useClickOutside } from './useClickOutside'
|
||||
|
||||
// 目前项目中的业务逻辑已经通过 composables 进行了封装
|
||||
// hooks 文件夹主要用于存放更通用的、可复用的 Vue hooks
|
||||
|
||||
export {}
|
||||
Reference in New Issue
Block a user