Sleep

Vue- display: Reactive media questions - Vue.js Feed #.\n\nWarning: Version 2.x simply supports Vue 3. v1 doctors are actually available listed here.\n\n\n\n\nReactive display screen size and also media question conditions for Vue. Assists your favourite UI framework out of package, and also may be set up with any type of personalized breakpoints.\n\nhttps:\/\/reegodev.github.io\/vue-screen.\n\nSensitive and also debounced display screen dimension.\nSensitive media concern conditions as well as tool orientation.\nRecognize contact screen capability.\nBreakpoints for the majority of common ui frameworks supplied away from package: Tailwind, Bootstrap, Bulma, Base, Materialize, Semantic UI.\nSSR compatible with Nuxt module featured. Nuxt module development is actually pending Nuxt 3 release.\n\nnpm i vue-screen.\nanecdote add vue-screen.\n\nUse along with structure API.\nimport useScreen, useGrid from 'vue-screen'.\n\nexport nonpayment \nsetup() \nconst screen = useScreen().\nconst framework = useGrid(' bulma').\n\nreturn \nmonitor,.\ngrid.\n\n\n\nFor state-of-the-art setups, visit the docs site.\nMake use of as a plugin.\nbring in createApp coming from 'vue'.\nimport VueScreen coming from 'vue-screen'.\n\n\/\/ In App.vue.\ncreateApp()\n. use( VueScreen, 'bootstrap')\n. position('

app').// In MyComponent.vue.Present breakpoint is: $grid.breakpointHome window width is actually: $screen.widthHome window elevation is actually: $screen.height
v2 launches a couple of breaking changes both in the arrangement and also in the API.Learn more concerning them in the docs section.

Articles You Can Be Interested In