kazupon/vue-i18n

Custom Formatter Example is broken

Open

#825 opened on Mar 30, 2020

View on GitHub
 (0 comments) (1 reaction) (0 assignees)JavaScript (7,181 stars) (886 forks)batch import
Type: Examplehelp wanted

Description

https://github.com/kazupon/vue-i18n/blob/f2b8a1024d8a0772ada501f5eac21d0471b0a35d/examples/formatting/custom/src/formatter.js#L52

TypeError: fn(...).map is not a function

Still investigating how to solve this properly (not using legacy places). Trying to support a %replacement% instead/aside of the curly braces.

Any helpful insight and fixing the example would be appreciated!

Contributor guide