You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, Vue allows using v-slots only in <template> tag (or in top-level component element, but it does not matter in this case). So, here's a version that works:
The docs say that it's possible to use
v-slot
syntax like this:https://kazupon.github.io/vue-i18n/guide/interpolation.html#slots-syntax-usage
However, Vue allows using
v-slots
only in<template>
tag (or in top-level component element, but it does not matter in this case). So, here's a version that works:vue & vue-i18n version
Vue: 2.6.10
Vue-i18n: 8.14.1
Reproduction Link
https://jsfiddle.net/ayx8tczr/8/
What is Expected?
According to docs, the first
i18n
tag in the reproduction example should render correctly.What is actually happening?
The slot in the first
i18n
tag is not rendered, and Vue throws a warning:The text was updated successfully, but these errors were encountered: