vue-i18n-filesoutputer

0.0.10 • Public • Published

vue-i18n-outputloader

Output i18n message into file from for Vue-I18n

Install

npm install vue-i18n-outputloader --save-dev

Usage

  • in webpack config
if (process.env.NODE_ENV !== 'production') {
  vueLoaderConfig.loaders['i18n'] = [{
    loader: 'vue-i18ndev-outputloader',
    options: {
      dir: 'myLangDir', // dir name to output
      build: process.env.NODE_ENV === 'production' // build lang, bool
    }
  }]
}

Readme

Keywords

none

Package Sidebar

Install

npm i vue-i18n-filesoutputer

Weekly Downloads

2

Version

0.0.10

License

ISC

Unpacked Size

18.4 kB

Total Files

9

Last publish

Collaborators

  • chiaweilee