mirror of
https://github.com/certd/certd.git
synced 2026-05-17 05:37:30 +08:00
335d175d57
chore: Merge branch 'vben' # Conflicts: # package.json perf: antdv示例改成使用vben框架 chore: vben chore: vben chore: vben
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 };
|
|
}
|