You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import { breakpointsTailwind, useBreakpoints } from '@vueuse/core';
|
|
|
|
export function useIsMobile() {
|
|
const breakpoints = useBreakpoints(breakpointsTailwind);
|
|
const isMobile = breakpoints.smaller('md');
|
|
return { isMobile };
|
|
}
|