Vue- monitor: Sensitive media concerns - Vue.js Feed #.\n\nPrecaution: Variation 2.x just assists Vue 3. v1 docs are on call right here.\n\n\n\n\nResponsive monitor measurements and media query states for Vue. Sustains your favorite UI framework out of package, as well as may be configured along with any custom-made breakpoints.\n\nhttps:\/\/reegodev.github.io\/vue-screen.\n\nReactive and also debounced monitor measurements.\nSensitive media question conditions and also device alignment.\nRecognize touch monitor ability.\nBreakpoints for many common ui structures offered out of package: Tailwind, Bootstrap, Bulma, Foundation, Materialize, Semantic UI.\nSSR suitable along with Nuxt module featured. Nuxt element growth is actually pending Nuxt 3 launch.\n\nnpm i vue-screen.\nyarn add vue-screen.\n\nMake use of along with structure API.\nbring in useScreen, useGrid coming from 'vue-screen'.\n\nexport nonpayment \ncreate() \nconst display screen = useScreen().\nconst framework = useGrid(' bulma').\n\nyield \nmonitor,.\ngrid.\n\n\n\nFor sophisticated arrangements, take a look at the docs internet site.\nMake use of as a plugin.\nimport createApp from 'vue'.\nimport VueScreen coming from 'vue-screen'.\n\n\/\/ In App.vue.\ncreateApp()\n. make use of( VueScreen, 'bootstrap')\n. place('
app').// In MyComponent.vue.Existing breakpoint is actually: $grid.breakpointWindow width is: $screen.widthHome window height is: $screen.height
v2 introduces a couple of breaking improvements both in the configuration as well as in the API.Find out more regarding all of them in the doctors section.
Articles You Can Be Interested In