Frontend Vue.js

Vue il8n Multilingual Package

Vue I18n is internationalization plugin of Vue.js. It easily integrates some localization features to your Vue.js Application.

https://unpkg.com/vue-i18n/dist/vue-i18n

unpkg.com provides NPM-based CDN links. The above link will always point to the latest release on NPM. You can also use a specific version/tag via URLs like https://unpkg.com/vue-i18n@8.14.0/dist/vue-i18n.js

Include vue-i18n after Vue and it will install itself automatically:

<script src="https://unpkg.com/vue/dist/vue.js"></script>
<script src="https://unpkg.com/vue-i18n/dist/vue-i18n.js"></script>

NPM

npm install vue-i18n

YARN

yarn add vue-i18n

When using with a module system, you must explicitly install the vue-i18n via Vue.use():

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

Vue.use(VueI18n)

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *