Skip to content

Run task after complete #265

Closed
Closed
@erguotou520

Description

@erguotou520

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 because vue-cli does not support this feature, and it does't show me the use's choice after user's init option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions