Plugin for responsive components
npm install vue-component-observerPlugin for responsive components
``bash`
yarn add vue-component-observer
`js
import VueComponentObserver from "vue-component-observer";
Vue.use(VueComponentObserver);
`
Declare the component breakpoints in the root of the component itself and then use the $eq property to render these computations.
` medium smallvue
`
Use the built-in Observer component
` medium smallvue
`
#### tag
What tag the Observer component should render
default: 'div'
#### slim
Render or not a node element
default: false
#### breakpoints
Observer breakpoints. Supports: minWidth, maxWidth, minHeight and maxHeight
default: null
` medium smallvue
`
` medium smallvue
``