mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 12:29:20 +08:00
初始化项目
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import { breakpointsTailwind, useBreakpoints } from '@vueuse/core';
|
||||
|
||||
export function useIsMobile() {
|
||||
const breakpoints = useBreakpoints(breakpointsTailwind);
|
||||
const isMobile = breakpoints.smaller('md');
|
||||
return { isMobile };
|
||||
}
|
||||
Reference in New Issue
Block a user