Sleep

Vue- monitor: Responsive media concerns - Vue.js Feed #.\n\nCaution: Model 2.x simply supports Vue 3. v1 doctors are actually available listed below.\n\n\n\n\nResponsive monitor size and media inquiry conditions for Vue. Supports your much-loved UI framework away from package, and also could be configured with any customized breakpoints.\n\nhttps:\/\/reegodev.github.io\/vue-screen.\n\nResponsive and debounced display dimension.\nResponsive media question conditions and unit alignment.\nSpot touch monitor capacity.\nBreakpoints for a lot of common ui frameworks given away from the box: Tailwind, Bootstrap, Bulma, Foundation, Materialize, Semantic UI.\nSSR compatible with Nuxt module consisted of. Nuxt component advancement is actually pending Nuxt 3 launch.\n\nnpm i vue-screen.\nyarn include vue-screen.\n\nUsage with structure API.\nimport useScreen, useGrid coming from 'vue-screen'.\n\nexport nonpayment \nsetup() \nconst monitor = useScreen().\nconst grid = useGrid(' bulma').\n\nyield \nmonitor,.\nframework.\n\n\n\nFor sophisticated configurations, browse through the docs website.\nUse as a plugin.\nbring in createApp coming from 'vue'.\nbring in VueScreen coming from 'vue-screen'.\n\n\/\/ In App.vue.\ncreateApp()\n. use( VueScreen, 'bootstrap')\n. mount('

app').// In MyComponent.vue.Current breakpoint is: $grid.breakpointHome window distance is actually: $screen.widthHome window elevation is actually: $screen.height
v2 presents a couple of breaking modifications both in the arrangement and in the API.Read more concerning all of them in the docs area.

Articles You Can Be Interested In