0.1.8 • Published 5 years ago

vue-fitty v0.1.8

Weekly downloads
195
License
-
Repository
github
Last release
5 years ago

Vue Fitty

Fitty text wrapper for Vue

npm (scoped with tag) npm Dependencies js-standard-style

Usage

<template>
    <div>
        <!-- Wrap your component with Fitty -->
        <fitty :options="options">
            <template v-slot:content>
            
              <h1>FITTED TEXT HERE</h1>

            </template>
        </fitty>
    </div>
</template>
import Fitty from 'vue-fitty' 
import MyAwesomeComponent from 'my/aweseome/path'

// Install plugin 
Vue.use(Fitty)

export default {
  data: () => ({
      options: {
        minSize: 11,
        maxSize: 120,
      }
  }),
  components: {
    MyAwesomeComponent
  }
  ...
}
0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago