Sleep

Vue- display screen: Reactive media concerns - Vue.js Nourished #.\n\nAlert: Variation 2.x simply supports Vue 3. v1 doctors are on call here.\n\n\n\n\nSensitive display measurements and media inquiry conditions for Vue. Supports your much-loved UI platform away from the box, and could be configured along with any sort of custom breakpoints.\n\nhttps:\/\/reegodev.github.io\/vue-screen.\n\nReactive and debounced monitor measurements.\nReactive media concern states and device positioning.\nSpot touch display capability.\nBreakpoints for a lot of usual ui frameworks supplied out of the box: Tailwind, Bootstrap, Bulma, Groundwork, Materialize, Semantic User Interface.\nSSR suitable along with Nuxt element consisted of. Nuxt element advancement is hanging Nuxt 3 launch.\n\nnpm i vue-screen.\nyarn include vue-screen.\n\nMake use of with structure API.\nimport useScreen, useGrid from 'vue-screen'.\n\nexport default \nsetup() \nconst monitor = useScreen().\nconst grid = useGrid(' bulma').\n\nyield \nmonitor,.\ngrid.\n\n\n\nFor advanced setups, look into the docs website.\nUse as a plugin.\nimport createApp coming from 'vue'.\nimport 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 actually: $grid.breakpointWindow size is: $screen.widthHome window height is: $screen.height
v2 launches a few breaking changes both in the setup as well as in the API.Find out more regarding them in the docs part.

Articles You Can Be Interested In