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
My template gives the choice of using i18n, and my template file contains many syntax like $t('xxx'), this.$t('xxx'), :prop="$t('xxx')", if people chose not use i18n, I must replate this syntax with default text.
If I change the template file using the {{#if i18n}}xxx{{/if}}, this will be a large work. My idea is replace the template file with default i18n config, but this could be difficult because vue-cli does not support this feature, and it does't show me the use's choice after user's init option.
The text was updated successfully, but these errors were encountered:
Not issue but question
Question
My template gives the choice of
using i18n
, and my template file contains many syntax like$t('xxx')
,this.$t('xxx')
,:prop="$t('xxx')"
, if people chose not use i18n, I must replate this syntax with default text.If I change the template file using the
{{#if i18n}}xxx{{/if}}
, this will be a large work. My idea is replace the template file with default i18n config, but this could be difficult becausevue-cli
does not support this feature, and it does't show me the use's choice after user's init option.The text was updated successfully, but these errors were encountered: