Skip to content

Input field component to display a formatted currency value based on Vue.js

License

kevinongko/vue-numeric

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue-numeric

npm version

Numeric input component based on Vue.

Installation

$ npm install vue-numeric --save-dev

Usage

<template> <vue-numeric currency="$" separator="," v-model="price"></vue-numeric> </template> <script> import VueNumeric from 'vue-numeric'  export default {   name: 'App',    components: {  VueNumeric  },    data () {  return {  price: ''  }  }   } </script> 

License

Vue-Numeric is open-sourced software licensed under the MIT license