vue-r-mask

March 2, 2019 ยท View on GitHub

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

Contents

  1. 0.1mask directive for vue.js
  2. 0.2Live Demo
  3. 0.3Live Demo Source
  4. 1Install in your project
  5. 2Run this demo repository