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
We are migrating a huge project from vue2 to vue3.
It used webpack @kazupon/vue-i18n-loader + yaml-loader and inline translations in <i18n> blocks.
Now we use @intlify/vue-i18n-loader loader.
By default it expects <i18n> to be in json format. That's why every <i18n> needs to be replaced with <i18n lang="yaml">.
The question is how to avoid this, somehow make it so @intlify/vue-i18n-loader loader expects <i18n> to be in yaml format by default.
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
-
We are migrating a huge project from vue2 to vue3.
It used webpack
@kazupon/vue-i18n-loader
+yaml-loader
and inline translations in<i18n>
blocks.Now we use
@intlify/vue-i18n-loader
loader.By default it expects
<i18n>
to be in json format. That's why every<i18n>
needs to be replaced with<i18n lang="yaml">
.The question is how to avoid this, somehow make it so
@intlify/vue-i18n-loader
loader expects<i18n>
to be in yaml format by default.Beta Was this translation helpful? Give feedback.
All reactions