npm.io
29.1.1 • Published 6d ago

@intl-tel-input/vue

Licence
MIT
Version
29.1.1
Deps
1
Size
567 kB
Vulns
0
Weekly
1.8K

Vue component for intl-tel-input

For entering, formatting, and validating international telephone numbers.

Explore docs »

intl-tel-input screenshot showing country dropdown open

Resources

Check out the website, where you can find a full set of docs, a live playground where you can try out all of the options, as well as plenty of examples of different setups.

Running the demos locally

  1. Initialise the submodules: git submodule update --init --recursive
  2. Install dependencies: npm install
  3. Build: npm run build
  4. Run a demo: npm run vue:demo and copy the given URL into your browser.

This defaults to the validation demo — to run a different one, set the DEMO env var, e.g. DEMO=simple npm run vue:demo. View the full list of available demos.

Issues and contributing

Please report issues and open pull requests on the main repository.

License

MIT

Keywords