Directive with template similar to 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}/

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