ChatGLM / views /src /hooks /useBasicLayout.ts
y001j's picture
Upload 305 files
af9251e
raw
history blame contribute delete
231 Bytes
import { breakpointsTailwind, useBreakpoints } from '@vueuse/core'
export function useBasicLayout() {
const breakpoints = useBreakpoints(breakpointsTailwind)
const isMobile = breakpoints.smaller('sm')
return { isMobile }
}