But filters can be globals. It's so easy and useful.
Victor Bastos
11
If you want to make a function or anything else global within the scope of components, you can attach it to Vue.prototype.
If you want to make a function or anything else global within the scope of components, you can attach it to Vue.prototype.