In Vue.js, you register filters that can be used to apply text formatting. But you must remember that filters do not change the original data, they only change the output and return a filtered version of it.

vue custom filter