[Vuejs]-Call a global filter from a method in Vue.js

0👍

I think there is a problem with your filter registration.In your index.js(main app file), you should import as import VueFilterDateFormat from '@vuejs-community/vue-filter-date-format'; and then Vue.use(VueFilterDateFormat);
or you can register it locally in some components.
Then you will be able to use it as the basic usage indicates
[here]

Leave a comment