Vue- display screen: Sensitive media queries - Vue.js Feed #.\n\nPrecaution: Model 2.x only supports Vue 3. v1 doctors are actually readily available listed here.\n\n\n\n\nSensitive display dimension and also media inquiry conditions for Vue. Supports your favourite UI platform away from the box, and could be configured along with any personalized breakpoints.\n\nhttps:\/\/reegodev.github.io\/vue-screen.\n\nResponsive and debounced screen measurements.\nSensitive media question conditions and also unit positioning.\nSpot contact screen ability.\nBreakpoints for most usual ui platforms provided away from the box: Tailwind, Bootstrap, Bulma, Groundwork, Materialize, Semantic UI.\nSSR suitable along with Nuxt module featured. Nuxt component advancement is actually pending Nuxt 3 launch.\n\nnpm i vue-screen.\nanecdote incorporate vue-screen.\n\nUse with composition API.\nimport useScreen, useGrid coming from 'vue-screen'.\n\nexport default \nsetup() \nconst screen = useScreen().\nconst grid = useGrid(' bulma').\n\nyield \nmonitor,.\ngrid.\n\n\n\nFor innovative configurations, look at the docs site.\nUse as a plugin.\nbring in createApp coming from 'vue'.\nbring in VueScreen from 'vue-screen'.\n\n\/\/ In App.vue.\ncreateApp()\n. use( VueScreen, 'bootstrap')\n. mount('
app').// In MyComponent.vue.Present breakpoint is: $grid.breakpointHome window size is actually: $screen.widthHome window height is actually: $screen.height
v2 introduces a couple of breaking adjustments both in the arrangement as well as in the API.Find out more concerning them in the docs area.
Articles You Can Be Interested In