Vue- screen: Responsive media concerns - Vue.js Supplied #.\n\nCaution: Model 2.x merely supports Vue 3. v1 doctors are available below.\n\n\n\n\nResponsive display size and also media inquiry conditions for Vue. Supports your favorite UI platform out of package, and also may be set up with any kind of personalized breakpoints.\n\nhttps:\/\/reegodev.github.io\/vue-screen.\n\nSensitive as well as debounced monitor size.\nSensitive media query conditions and unit positioning.\nSpot contact display screen functionality.\nBreakpoints for most usual ui platforms given away from the box: Tailwind, Bootstrap, Bulma, Foundation, Materialize, Semantic User Interface.\nSSR compatible along with Nuxt component featured. Nuxt component growth is actually pending Nuxt 3 release.\n\nnpm i vue-screen.\nanecdote incorporate vue-screen.\n\nUse along with composition API.\nimport useScreen, useGrid from 'vue-screen'.\n\nexport default \ncreate() \nconst display = useScreen().\nconst network = useGrid(' bulma').\n\nreturn \nmonitor,.\ngrid.\n\n\n\nFor state-of-the-art setups, take a look at the doctors web site.\nMake use of 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. place('
app').// In MyComponent.vue.Existing breakpoint is: $grid.breakpointWindow size is actually: $screen.widthWindow height is: $screen.height
v2 launches a couple of breaking modifications both in the configuration and also in the API.Find out more about all of them in the doctors section.