kazupon/vue-i18n

Custom Formatter Example is broken

Open

#825 geöffnet am 30. März 2020

Auf GitHub ansehen
 (0 Kommentare) (1 Reaktion) (0 zugewiesene Personen)JavaScript (7.181 Stars) (886 Forks)batch import
Type: Examplehelp wanted

Beschreibung

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