mirror of
https://github.com/fatedier/frp.git
synced 2026-04-22 00:49:10 +08:00
web/frps: redesign frps dashboard with sidebar nav, responsive layout, and shared component workspace
This commit is contained in:
8
web/frps/src/composables/useResponsive.ts
Normal file
8
web/frps/src/composables/useResponsive.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { useBreakpoints } from '@vueuse/core'
|
||||
|
||||
const breakpoints = useBreakpoints({ mobile: 0, desktop: 768 })
|
||||
|
||||
export function useResponsive() {
|
||||
const isMobile = breakpoints.smaller('desktop') // < 768px
|
||||
return { isMobile }
|
||||
}
|
||||
Reference in New Issue
Block a user