A render-less component for composing CSS breakpoint state

A render-less component for
composing CSS breakpoint state

A render-less component for composing CSS breakpoint state.

Install

$ npm install --save vue-breakpoint-component

Usage

To use the component in your templates, simply import and register with your component:

Script

import { VBreakpoint } from 'vue-breakpoint-component'

export default {
  components: {
    VBreakpoint
  }
}

Template

<v-breakpoint>
  <div slot-scope="scope">
    <span v-if="scope.isSmall"  style="font-size: 2rem">   

Github Repository