# vue-not-visible Vue directive for conditional rendering (like v-if) element on screen smaller than breakpoints; [![NPM](https://nodei.co/npm/vue-not-visible.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/vue-not-visible/) 📺 [Demo](https://pxyup.github.io/vue-not-visible/index.html) ## Install ```bash $ npm install --save vue-not-visible ``` ```bash $ yarn add vue-not-visible ``` ## Use default ```js import Vue from 'vue' import vueNotVisible from 'vue-not-visible' /* const BREAKPOINTS = { mobile: 425, tablet: 768, tablet_landscape: 1024, desktop: 1200, desktop_large: 1440, hd: 1920, } */ Vue.use(vueNotVisible) // this is default ``` ```html ``` ## Use custom breakpoints ```js import Vue from 'vue' import vueNotVisible from 'vue-not-visible' Vue.use(vueNotVisible, {ipad: 1280}) // this is custom ``` ```html ``` ## License [MIT License](https://github.com/PxyUp/vue-not-visible/blob/master/LICENSE)