Skip to content

Jhon-Henkel/vue-money-mask-directive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vue Money Mask Directive

Just copy and register directive and use in your project. The examples of use are in the specific folder of use (Ionic or Options).

I make some changes on files to work with ionic and vue 3 options api.

Register directive example:

import { createApp } from 'vue'
import App from './App.vue'
import moneyMask from './directives/moneyMask'

const app = createApp(App)
app.directive('money', moneyMask)

Credits

https://github.com/vuejs-tips/v-money