Hello I import datepicker using require js but i can't add localisation support.
I search on web and i found no solution how to add language current i have is default En.
When i'm import like i code bellow i get data error.
Try setting the datepicker as a dependency for the datepickerLocale. Then you can call the datepickerLocale via requireJS and it will get the datepicker befor executing anything.
Expected behaviour
Hello I import datepicker using require js but i can't add localisation support. I search on web and i found no solution how to add language current i have is default En. When i'm import like i code bellow i get data error.