vue-i18n-fileoutputer
v0.0.9
Published
Output i18n message into file from <i18n> for Vue-I18n
Downloads
7
Readme
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
}
}]
}