flowbite-datepicker icon indicating copy to clipboard operation
flowbite-datepicker copied to clipboard

can i use this datepicker in angular?

Open bressanelle opened this issue 2 years ago • 2 comments

bressanelle avatar Dec 28 '22 05:12 bressanelle

Yes, It can be used as a pure javascript library in angular. Below are the steps,

  • Save datepicker-full.min.js in your assets/js directory

  • Add the path of datepicker-full.min.js in the angular.json file as below, "scripts": ["src/assets/js/datepicker-full.min.js"]

  • At top of your component, declare let DateRangePicker: any;

By following these steps, the library is available to your angular app

cp-sumi-k avatar Jan 08 '24 09:01 cp-sumi-k

Is there a plan to fully support this for Angular? I wanted to use this with tailwind but cannot actually go on with partial compatibility. Thanks!

CriPstian avatar Jun 12 '24 15:06 CriPstian