kazupon/vue-i18n

Custom Formatter Example is broken

开放

#825 创建于 2020年3月30日

 (0 条评论) (1 个反应) (0 位负责人)JavaScript (837 个派生)batch import
Type: Examplehelp wanted

仓库指标

星标
 (7,222 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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!

贡献者指南