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