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
Usage: intlify <command> [options]
Commands:
intlify compile compile the i18n resources [aliases: cp]
intlify annotate annotate the attributes [aliases: at]
intlify format format for single-file components [aliases: ft]
Options:
--help Show help [boolean]
--version Show version number [boolean]
🙈 Ignoring
For annotate or format commands, you can ignore with using .intlifyignore or --ignore for files passed at the end of the options or --source option
.intlifyignore
To exclude files from iles passed at the end of the options or --source option, create a .itnlifyignore file in the root of your project. .intlifyignore uses gitignore syntax.
It’s recommended to have a .intlifyignore in your project! This way you can run intlify format —source /path/to/**/*.vue —type custom-block . to make sure that everything is executed (without mangling files you don’t want, or choking on generated files).
--ignore option
If you can't use .intlifyignore for some reason and want to specify a different file, you can use the --ignore option to achieve this.
# ignore with `.gitignore`
intlify format —source /path/to/**/*.vue —type custom-block --ignore .gitignore