@vueuse/i18n
TypeScript icon, indicating that this package has built-in type declarations

4.0.0-beta.12 • Public • Published

[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

Package Sidebar

Install

npm i @vueuse/i18n

Weekly Downloads

3

Version

4.0.0-beta.12

License

MIT

Unpacked Size

9.51 kB

Total Files

9

Last publish

Collaborators

  • vueuse-bot
  • sxzz
  • antfu
  • egoist
  • tahul