RonaldJerez / vue-input-facade

A lightweight and dependency free input masking library created specific for Vue
https://ronaldjerez.github.io/vue-input-facade/latest/
182 stars 27 forks source link

Should document differences to vue-the-mask #5

Closed MiniGod closed 4 years ago

MiniGod commented 4 years ago

I'm looking for an alternative to vue-the-mask.

It would be great to mention in the README whether this is a drop-in-replacement, or if I need to change something. You only mention that it is a fork.

As far as I can tell, the tokens are the same except the escape token?

RonaldJerez commented 4 years ago

It is not a drop-in replacement. Yes the tokens are the same except for the escape. But the component tag is different as well as directive name.

You can however make it more of a straight forward migration by supplying your own directive name as well as the tokens if you wish to keep the escape one the same. This is mentioned in the demo page’s advance section

I will add a note in the rearme as well, thanks for the suggestion.