Static GitHub Issues

[231] Vue Filters

prev: cssModules is not defined on HMR
next: Ajax Server Rendering Problem

Hello,

Where can i write the filters for the vue application? For ex:

Vue.filter('capitalize', val => val.toUpperCase())

Eariler it would reside in the main/app.js.

Thanks

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c195">#c195</a>)</em></sub></div>