kazupon/vue-i18n
View on GitHubscopedSlots do not work in render functions for component interpolation
Open
#1,050 opened on Nov 18, 2020
Type: Improvementhelp wanted
Repository metrics
- Stars
- (7,181 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
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
renderfunction to create ani18ncomponent for interpolation. - Pass
scopedSlotsinto 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