7 lines
233 B
TypeScript
7 lines
233 B
TypeScript
import { breakpointsTailwind, useBreakpoints } from "@vueuse/core"
|
|
|
|
const breakpoints = useBreakpoints(breakpointsTailwind)
|
|
|
|
export const isMobile = breakpoints.smallerOrEqual("md")
|
|
export const isDesktop = breakpoints.greater("md")
|