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
The language key exists, no warning in console output.
Using <span v-text="$t('shop.item.card.ask')" /> instead of v-t then it's much faster.
According to the documentation, v-t should be even faster: https://kazupon.github.io/vue-i18n/guide/directive.html#t-vs-v-t
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When rendering more than 50 elements, the v-t directive is noticeably slower.
The language key exists, no warning in console output.
Using
<span v-text="$t('shop.item.card.ask')" />
instead ofv-t
then it's much faster.According to the documentation, v-t should be even faster: https://kazupon.github.io/vue-i18n/guide/directive.html#t-vs-v-t
System info:
Screenshots
v-t 1000 element:
$t 1000 element:
Beta Was this translation helpful? Give feedback.
All reactions