All Categories

  • Use vue-i18n for Localization at Vue

    5/4/2017 -
    Use vue-i18n at Vue Install vue-i18n Install to the different section of the package.json. // for just install vue-i18n to node.js node module npm install vue-i18n // or install to dependencies section of package.json npm install vue-i18n --save // or install to devDependencies section of package.json npm install vue-i18n --save-dev // or install to optionalDependencies section of package.json npm install vue-i18n --save-optional Setup vue-i18n First, use the vue-i18n import Vue from 'vue' import VueI18n from 'vue-i18n' Vue.use(VueI18n) setup localized text.
    Vue