1.0.8 • Published 5 years ago

@danil.vereschak/vue2-phone-input v1.0.8

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

vue2-phone-input

Phone input with country list, country codes ..

Installation


npm

npm install --save vue2-phone-input
npm install --save less-loader less

Usage


<script>
import vue from 'vue';
import PhoneInput from 'vue2-phone-input';

vue.component('phone-input', PhoneInput);

export default {
  name: 'hello',
  data() {
    return {
      phone: {
        code: '',
        number: ''
      }
    }
  },
};
</script>

<template>
  <div class="hello">    
    <phone-input :phone="phone"/>
  </div>
</template>

CREDITS


Thanks to @sulieman-sh

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago