@vueuse/i18n

v3.0.27
Collection of essential Vue Composition API
vue vue-use utils i18n vue-i18n

[DEPREACTED]

Please use these packages instead:


Lacgay Docs

🌍 @vueuse/i18n

NPM version

This is an add-on of VueUse. A wrapper for vue-i18n in Composition API. You can use it before vue-i18n-next ready.

Full Documents

📦 Install

for Vue 3 (vue-next)

npm i @vueuse/i18n@vue3 vue-i18n

for Vue 2 with composition-api polyfill

npm i @vueuse/i18n@vue2 vue-i18n

⚡ Functions

@vueuse/i18n provides following functions

  • i18n
    • createI18n — create a global i18n instance to be reused
    • useI18n — use vue-i18n instance

You can checkout the full documents and live demos in Storybook.

📄 License

MIT License © 2019-2020 Anthony Fu

npm i @vueuse/[email protected]

Metadata

  • MIT
  • Whatever
  • Anthony Fu
  • released 5/2/2020

Downloads

Maintainers