DEV Community

Discussion on: Tailwind CSS Datepicker

zolidev profile image
Zoltán Szőgyényi Author

If you're using something like Webpack where you can import JS modules then you should do that in a JavaScript file.

If you want a more simple way of doing it you can just include the Flowbite CDN file and then use the datepicker with data attributes.