mirror of
https://github.com/Chanzhaoyu/chatgpt-web.git
synced 2025-07-30 18:48:31 +00:00

* feat: 响应式兼容 h5 * feat: 补充空状态 * feat: thinking * chore: @vueuse/core 导致的类型检查错误 * chore: version 2.4.0
9 lines
231 B
TypeScript
9 lines
231 B
TypeScript
import { breakpointsTailwind, useBreakpoints } from '@vueuse/core'
|
|
|
|
export function useBasicLayout() {
|
|
const breakpoints = useBreakpoints(breakpointsTailwind)
|
|
const isMobile = breakpoints.smaller('sm')
|
|
|
|
return { isMobile }
|
|
}
|