Skip to content

iRestWeb/vue2-phone-input

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Phone input with country list, country codes ..

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages