You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm using vue for a single page to resolve one simple problem.
The problem is that all the examples are using imports, and I cannot use that.
I need to use the plugin without using the imports, like this plugin allows you to.
<script src="vue.min.js"></script>
<script src="v-mask.min.js"></script>
<script>
// As a plugin
Vue.use(VueMask.VueMaskPlugin);
// As a directive
Vue.directive('mask', VueMask.VueMaskDirective);
</script>
I believe it's called UMD, so is it possible to do this?
The text was updated successfully, but these errors were encountered:
I've found a roundtrip to achieve this. Looking inside the code you can see the name "VMoney". In my browser console i've inspected this and looking inside there's an object called directives. You can insert te directive to Vuejs the following way:
Hi, I'm using vue for a single page to resolve one simple problem.
The problem is that all the examples are using imports, and I cannot use that.
I need to use the plugin without using the imports, like this plugin allows you to.
I believe it's called UMD, so is it possible to do this?
The text was updated successfully, but these errors were encountered: