chatup-pro / src /hooks /useBasicLayout.ts
dvc890's picture
[feat]add project files
41af422
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 }
}