Vue- display: Sensitive media queries - Vue.js Supplied #.\n\nCaution: Model 2.x merely sustains Vue 3. v1 doctors are actually offered right here.\n\n\n\n\nResponsive display screen measurements as well as media inquiry conditions for Vue. Supports your favourite UI structure out of package, as well as may be configured with any type of custom-made breakpoints.\n\nhttps:\/\/reegodev.github.io\/vue-screen.\n\nSensitive and also debounced monitor size.\nReactive media question conditions and device alignment.\nDetect touch screen functionality.\nBreakpoints for many popular ui frameworks delivered out of package: Tailwind, Bootstrap, Bulma, Foundation, Materialize, Semantic UI.\nSSR appropriate along with Nuxt element consisted of. Nuxt module progression is pending Nuxt 3 release.\n\nnpm i vue-screen.\nanecdote add vue-screen.\n\nMake use of along with make-up API.\nimport useScreen, useGrid from 'vue-screen'.\n\nexport default \nsetup() \nconst screen = useScreen().\nconst grid = useGrid(' bulma').\n\nyield \ndisplay screen,.\nnetwork.\n\n\n\nFor advanced arrangements, check out the docs web site.\nMake use of as a plugin.\nbring in createApp from 'vue'.\nimport VueScreen coming from 'vue-screen'.\n\n\/\/ In App.vue.\ncreateApp()\n. use( VueScreen, 'bootstrap')\n. mount('
app').// In MyComponent.vue.Present breakpoint is actually: $grid.breakpointHome window distance is: $screen.widthWindow height is actually: $screen.height
v2 offers a couple of breaking adjustments both in the configuration as well as in the API.Find out more about them in the doctors area.