mirror of
https://github.com/certd/certd.git
synced 2026-05-17 05:37:30 +08:00
8 lines
231 B
TypeScript
8 lines
231 B
TypeScript
|
|
import { breakpointsTailwind, useBreakpoints } from "@vueuse/core";
|
||
|
|
|
||
|
|
export function useIsMobile() {
|
||
|
|
const breakpoints = useBreakpoints(breakpointsTailwind);
|
||
|
|
const isMobile = breakpoints.smaller("md");
|
||
|
|
return { isMobile };
|
||
|
|
}
|