Vue- monitor: Reactive media concerns - Vue.js Supplied #.\n\nCaution: Model 2.x only sustains Vue 3. v1 doctors are actually available here.\n\n\n\n\nReactive screen size and media query states for Vue. Assists your favourite UI platform out of package, as well as may be configured with any personalized breakpoints.\n\nhttps:\/\/reegodev.github.io\/vue-screen.\n\nReactive as well as debounced display screen size.\nSensitive media question states and also tool alignment.\nRecognize touch display capability.\nBreakpoints for most typical ui platforms offered out of package: Tailwind, Bootstrap, Bulma, Groundwork, Materialize, Semantic User Interface.\nSSR compatible with Nuxt component featured. Nuxt module development is pending Nuxt 3 launch.\n\nnpm i vue-screen.\nyarn incorporate vue-screen.\n\nUse along with make-up API.\nimport useScreen, useGrid from 'vue-screen'.\n\nexport default \ncreate() \nconst screen = useScreen().\nconst grid = useGrid(' bulma').\n\nreturn \ndisplay screen,.\nframework.\n\n\n\nFor sophisticated arrangements, have a look at the docs internet site.\nUsage as a plugin.\nimport createApp coming from 'vue'.\nbring in VueScreen from 'vue-screen'.\n\n\/\/ In App.vue.\ncreateApp()\n. usage( VueScreen, 'bootstrap')\n. install('
app').// In MyComponent.vue.Present breakpoint is: $grid.breakpointHome window width is actually: $screen.widthWindow height is actually: $screen.height
v2 offers a handful of breaking modifications both in the configuration as well as in the API.Read more about them in the docs part.