Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run task after complete #265

Closed
erguotou520 opened this issue Dec 15, 2016 · 1 comment
Closed

Run task after complete #265

erguotou520 opened this issue Dec 15, 2016 · 1 comment

Comments

@erguotou520
Copy link

erguotou520 commented Dec 15, 2016

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.

@OmgImAlexis
Copy link

@egoist this can be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants