Yesterday I placed a request related to the locale change dynamically in the wrong place.
First of all, i am still a newbie with vuejs.
I'm using this Boilerplate Repo for my project.
https://github.com/cretueusebiu/laravel-vue-spa
I do not want to use a bootstrap datepicker because it uses jquery. I do not want to use jquery too.
With vue-i18n https://github.com/kazupon/vue-i18n module, all controls in the form can be translated dynamically. But not with vue-datepicker.
I'm using this "tricky" code.
Yesterday I placed a request related to the locale change dynamically in the wrong place.
First of all, i am still a newbie with vuejs. I'm using this Boilerplate Repo for my project. https://github.com/cretueusebiu/laravel-vue-spa I do not want to use a bootstrap datepicker because it uses jquery. I do not want to use jquery too. With vue-i18n
https://github.com/kazupon/vue-i18n
module, all controls in the form can be translated dynamically. But not with vue-datepicker. I'm using this "tricky" code.But the result appears only after the page reload.
UPDATE I came with this "trick". I do not know if this is a good solution, but working for me. Form:
Script :