File size: 231 Bytes
c742717
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import { breakpointsTailwind, useBreakpoints } from '@vueuse/core'

export function useBasicLayout() {
  const breakpoints = useBreakpoints(breakpointsTailwind)
  const isMobile = breakpoints.smaller('sm')

  return { isMobile }
}