0👍
you can define lang vars in some .blade.php file
var lang = {
pickupTime: "{{ t('vue.readytime') }}",
};
and use lang var in vue component
self.formError.pickupTime = lang.pickupTime;
Source:stackexchange.com
0👍
you can define lang vars in some .blade.php file
var lang = {
pickupTime: "{{ t('vue.readytime') }}",
};
and use lang var in vue component
self.formError.pickupTime = lang.pickupTime;