Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Internationalization with vue-i18n

Introduce Vue i18n through the GUI

In this lesson, we'll learn how to install the vue-i18n plugin through the Vue CLI Graphical User Interface (GUI).

The plugin can be installed with npm or yarn

npm install vue-i18n
# OR
yarn add vue-i18n

When using a module system, we must explicitly install the plugin with the Vue.use() method.

import Vue from 'vue'
import VueI18n from 'vue-i18n'


For other installation instructions, please see the vue-i18n documentation