0.2.3 • Published 3 years ago

textlint-plugin-vue-i18n v0.2.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

textlint-plugin-vue-i18n

npm version license

A textlint plugin to extract texts from vue-i18n custom blocks.

Install

npm i -D textlint-plugin-vue-i18n

Configuration

Add this plugin into the plugins field in the .textlintrc.

{
  "plugins": {
    "textlint-plugin-vue-i18n": {
      "locales": ["ja"],
      "resources": ["./locales/*.json"]
    }
  }
}

Options

  • locales (optional, string[]): List of locales. If you specify it, this plugin will retrieve texts only in the locales. Default: null (retrieve all locales)
  • resources (optional, string[]): List of glob patterns. If you specify it, this plugin will retrieve texts not only the i18n blocks but also specified JSON files. Default: [] (doesn't retrieve a resource)

License

MIT

0.2.3

3 years ago

0.1.0

3 years ago

0.2.1

3 years ago

0.0.3

3 years ago

0.2.0

3 years ago

0.2.0-0

3 years ago

0.2.1-beta.0

3 years ago

0.2.2

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago