0👍
vuex-i18n
exposes $i18n.set()
, so you should be able to do something like this: <button @click="$i18n.set('en')">en</button>
in your template.
- [Vuejs]-How to debug web project based on vue js on LG Web Os TV
- [Vuejs]-Proper way to hide components from not auth users in vue
Source:stackexchange.com