filter

Estimated reading time: 1 minute

global

Vue.filter('name', (value) => {
  // code
})

local

filters: {
  name: (value) => {
    // code
  }
}

resources

vue, vusjs