vue-i18n-jest

1.1.1 â€ĸ Public â€ĸ Published

🌐 vue-i18n-jest

Test npm codecov

vue-jest transformer for i18n custom blocks

âš ī¸ NOTE: This transformer is for vue-jest@v4

đŸ’ŋ Installation

npm

npm install --save-dev vue-i18n-jest

yarn

yarn add -D vue-i18n-jest

🚀 Usages

To define vue-i18n-jest as a transformer for your .vue files that have i18n custom blocks, map them to the vue-i18n-jest module.

if you've already setup vue-jest, You can change it as follows:

module.exports = {
  globals: {
    'vue-jest': {
      transform: {
        'i18n': 'vue-i18n-jest'
      }
    }
  }
}

📜 Changelog

Details changes for each release are documented in the CHANGELOG.md.

❗ Issues

Please make sure to read the Issue Reporting Checklist before opening an issue. Issues not conforming to the guidelines may be closed immediately.

✅ TODO

Managed with GitHub Projects

ÂŠī¸ License

MIT

Readme

Keywords

Package Sidebar

Install

npm i vue-i18n-jest

Weekly Downloads

3,657

Version

1.1.1

License

MIT

Unpacked Size

8.4 kB

Total Files

5

Last publish

Collaborators

  • kazupon
  • ota-meshi