elk/composables/screen.ts
2023-01-30 11:58:58 +01:00

6 lines
185 B
TypeScript

import { breakpointsTailwind } from '@vueuse/core'
export const breakpoints = useBreakpoints(breakpointsTailwind)
export const isMediumOrLargeScreen = breakpoints.between('sm', 'xl')