Vue- screen: Responsive media concerns - Vue.js Nourished #.\n\nCaution: Version 2.x just assists Vue 3. v1 doctors are actually available listed here.\n\n\n\n\nResponsive screen measurements as well as media question states for Vue. Assists your favourite UI framework away from the box, as well as may be configured along with any custom breakpoints.\n\nhttps:\/\/reegodev.github.io\/vue-screen.\n\nSensitive and debounced display measurements.\nSensitive media query states and also gadget positioning.\nSpot touch screen capacity.\nBreakpoints for many usual ui structures supplied away from package: Tailwind, Bootstrap, Bulma, Foundation, Materialize, Semantic UI.\nSSR suitable with Nuxt component consisted of. Nuxt module advancement is pending Nuxt 3 launch.\n\nnpm i vue-screen.\nyarn incorporate vue-screen.\n\nUsage along with make-up API.\nbring in useScreen, useGrid from 'vue-screen'.\n\nexport nonpayment \nsetup() \nconst monitor = useScreen().\nconst grid = useGrid(' bulma').\n\nprofit \nscreen,.\ngrid.\n\n\n\nFor state-of-the-art arrangements, have a look at the doctors internet site.\nUse as a plugin.\nbring in createApp coming from 'vue'.\nbring in VueScreen from 'vue-screen'.\n\n\/\/ In App.vue.\ncreateApp()\n. make use of( VueScreen, 'bootstrap')\n. mount('
app').// In MyComponent.vue.Present breakpoint is actually: $grid.breakpointHome window size is: $screen.widthHome window elevation is actually: $screen.height
v2 launches a handful of breaking changes both in the setup as well as in the API.Learn more concerning all of them in the docs segment.