refactor: migrate to nuxt compatibilityVersion: 4 (#3298)
This commit is contained in:
parent
46e4433e1c
commit
a3fbc056a9
342 changed files with 1200 additions and 2932 deletions
7
app/composables/screen.ts
Normal file
7
app/composables/screen.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
import { breakpointsTailwind } from '@vueuse/core'
|
||||
|
||||
export const breakpoints = useBreakpoints(breakpointsTailwind)
|
||||
|
||||
export const isSmallScreen = breakpoints.smallerOrEqual('sm')
|
||||
export const isMediumOrLargeScreen = breakpoints.between('sm', 'xl')
|
||||
export const isExtraLargeScreen = breakpoints.smallerOrEqual('xl')
|
Loading…
Add table
Add a link
Reference in a new issue