14 lines
550 B
TypeScript
14 lines
550 B
TypeScript
// 自定义 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 {} |