index.js 168 Bytes Raw Blame History Permalink 1 2 3 4 5 6 import Vue from 'vue' import filter from './filter' Object.keys(filter).forEach(k => Vue.filter(k, filter[k])) Vue.prototype.$hidePhone = Vue.filter('hidePhone')