Closed linhdoan24 closed 2 years ago
create a function within src/components/datepicker/locale/index.ts
&& export it
Could you add an example to do this in the docs? This would help a lot of people, I suppose :-)
updated readme with the steps to add new Locale, i hope this will be helpful.
Hi. Thank you. As stated here (https://github.com/shubhadip/vuejs3-datepicker/pull/32), I think most people (including me) do not know how to actually use the new locale :-)
Also adding all the locales like this will prevent locales from being treeshaked, so all locales will always be loaded on one's page
how can i add new locale if not exits