npm.io
1.0.3 • Published 6 years ago

vue-number-custom

Licence
MIT
Version
1.0.3
Deps
0
Size
4 kB
Vulns
0
Weekly
0

vue-number-custom

Works with Vue 2.*

Installation

$ npm install vue-number-custom --save

Install as Component

import Vue from 'vue'
  
export default {
  name: 'App',

  components: {
    VueNumber
  }
}
Install as Plugin
import Vue from 'vue'
import VueNumberCustom from 'vue-number-custom'
  
Vue.use(VueNumberCustom)

Usage

Quick example
<template>
  <vue-number-custom v-model="price"></vue-number-custom>
</template>

<script>
import VueNumberCustom from 'vue-number-custom'

export default {

  name: 'App',

  components: {
    VueNumberCustom
  },

  data: () => ({
    price: 100
  }),
}
</script>

License

vue-number is open-sourced software licensed under the MIT license

Keywords