Vue Resize Text makes font auto resizing on responsive layout
npm install vue-resize-textA vue directive which automatically resize font size based on element width.
It makes the font-size flexible on fluid or responsive layout.




Live Demo: Resize the browser viewport to see the effect in action
Install via NPM
$ npm install vue-resize-text --save
Install via CDN
``html`
#### Global
Register VueResizeText globally:
`javascript
import Vue from 'Vue';
import VueResizeText from 'vue-resize-text';
Vue.use(VueResizeText)
``
Directive v-resize-text` then can be used in any of Component
`html`
Hello Vue
#### Local
Include the VueResizeText directive directly into your component using import:
`html`
Hello Vue
#### Basic usage
`html
Hello Vue
`
| Argument | Description | Type | Default |
| ----------- | --------------- | ------------ | ------------ |
| ratio | Font Ratio is the tweek to make the text resize properly, greater then
1 makes the font smaller and less then 1` make the font bigger | Number | 1 |MIT