kazupon/vue-i18n

scopedSlots do not work in render functions for component interpolation

Offen

#1.050 geöffnet am 18.11.2020

 (1 Kommentar) (1 Reaktion) (0 zugewiesene Personen)JavaScript (837 Forks)batch import
Type: Improvementhelp wanted

Repository-Metriken

Stars
 (7.222 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

vue & vue-i18n version

vue: 2.6.11 vue-i18n: 8.15.3 (also 8.22.1)

Reproduction Link

https://codesandbox.io/s/elegant-lamarr-l1mzm

Steps to reproduce

  • use a render function to create an i18n component for interpolation.
  • Pass scopedSlots into the data object to map.
  • Observe the missing values.

What is Expected?

vue-i18n should accept the scopedSlots to populate variables accordingly.

What is actually happening?

Does not compile the scopedSlots

Contributor Guide