how do i use jquery-datetimepicker with webpacker

60 views
Skip to first unread message

fugee ohu

unread,
Feb 11, 2020, 3:56:16 AM2/11/20
to Ruby on Rails: Talk
I installed it with yarn but I don't know how to get it working

jake

unread,
Feb 11, 2020, 12:03:35 PM2/11/20
to Ruby on Rails: Talk
Probably something like this in application.js:

import 'jquery-datetimepicker';

I would pick a lib with better docs tho: https://flatpickr.js.org/getting-started/
Reply all
Reply to author
Forward
Message has been deleted
0 new messages