kazupon/vue-i18n

Custom Formatter Example is broken

Open

#825 建立於 2020年3月30日

在 GitHub 查看
 (0 留言) (1 反應) (0 負責人)JavaScript (7,181 star) (886 fork)batch import
Type: Examplehelp wanted

描述

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!

貢獻者指南