Basic Input Mask Directive For Vue.js – vue-r-mask

Basic Input Mask Directive For Vue.js – vue-r-mask

A basic mask directive for vue.js that is useful for your own input or textarea using javascript regular expression.

vue-r-mask

mask directive for vue.js

  • Template similar to javascript regular expression. /\d{2}/
  • Directive useful for your own input or textarea.
  • Arbitrary number of digits in template /\d{1,10}/

Live Demo

Live Demo Source

Install in your project

npm install vue-r-mask

Run this demo repository

git clone https://github.com/raidan00/vue-r-mask.git
cd vue-r-mask
npm install
npm run dev

Github Repository

Tags: #Vue.js