@vueuse/i18n
v3.0.26 vue vue-use utils i18n vue-i18n
[DEPREACTED]
Please use these packages instead:
- Vue 3:
vue-i18n
v9 - Vue 2:
vue-i18n-composable
Lacgay Docs
🌍 @vueuse/i18n
This is an add-on of VueUse. A wrapper for vue-i18n in Composition API. You can use it before vue-i18n-next ready.
📦 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 reuseduseI18n
— 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 4/14/2020