Sleep

Vue- display: Reactive media inquiries - Vue.js Feed #.\n\nPrecaution: Version 2.x merely supports Vue 3. v1 docs are available here.\n\n\n\n\nReactive display screen measurements as well as media query states for Vue. Sustains your preferred UI platform away from the box, and also can be configured along with any sort of custom breakpoints.\n\nhttps:\/\/reegodev.github.io\/vue-screen.\n\nSensitive and debounced monitor size.\nResponsive media concern states and tool positioning.\nRecognize touch monitor functionality.\nBreakpoints for most common ui platforms delivered out of the box: Tailwind, Bootstrap, Bulma, Foundation, Materialize, Semantic User Interface.\nSSR appropriate along with Nuxt element included. Nuxt module progression is hanging Nuxt 3 release.\n\nnpm i vue-screen.\nanecdote incorporate vue-screen.\n\nUsage with make-up API.\nimport useScreen, useGrid from 'vue-screen'.\n\nexport nonpayment \ncreate() \nconst display screen = useScreen().\nconst network = useGrid(' bulma').\n\nprofit \ndisplay,.\nnetwork.\n\n\n\nFor advanced setups, browse through the docs internet site.\nMake use of as a plugin.\nimport createApp coming from 'vue'.\nbring in VueScreen from 'vue-screen'.\n\n\/\/ In App.vue.\ncreateApp()\n. usage( VueScreen, 'bootstrap')\n. mount('

app').// In MyComponent.vue.Existing breakpoint is: $grid.breakpointHome window size is actually: $screen.widthHome window elevation is: $screen.height
v2 introduces a couple of breaking improvements both in the configuration and also in the API.Read more about all of them in the docs part.

Articles You Can Be Interested In