You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const moment = require('moment')
require('moment/locale/es')
Vue.use(require('vue-moment'), {
moment
})
and everything works great but when I called a method this.$moment.locale(myNewLocale)
in my component the language change only after reloading component/view.
Is there a way to translate immediately?
The text was updated successfully, but these errors were encountered:
I use this configuration in main.js
and everything works great but when I called a method
this.$moment.locale(myNewLocale)
in my component the language change only after reloading component/view.
Is there a way to translate immediately?
The text was updated successfully, but these errors were encountered: