vue-one-size
v0.0.5
Published
One size fits on all screens
Downloads
12
Readme
vue-one-size
One size fits on all screens.
Install
yarn add vue-one-size
Usage
Register as a global component:
import OneSize from 'vue-one-size'
Vue.use(OneSize)
<template>
<OneSizeContainer>
...
</OneSizeContainer>
</template>
Or use it locally:
<template>
<OneSizeContainer>
...
</OneSizeContainer>
</template>
<script>
import OneSize from 'vue-one-size'
export default {
...
components: {
OneSizeContainer: OneSize.container
}
}
</script>