Reputation: 1294
The Vue API lists a bunch of filters as though they are available out-the-box:
https://011.vuejs.org/api/filters.html
But I'm getting failed to resolve filter
errors. Is there a way to switch these on or am I getting something else wrong?
At the moment I am simply referencing one of the listed filters from my template:
{{lic.assignedusercount}} {{lic.assignedusercount | pluralize user}}
Upvotes: 1
Views: 190
Reputation: 1294
For completeness - this references a now out-of-date version of Vue. The new version does not include any filters you have to build your own, or import an open source set.
Upvotes: 1