[Rails] how do i use jquery-datetimepicker with webpacker

2020-02-11 Thread fugee ohu
I installed it with yarn but I don't know how to get it working -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[Rails] Re: how do i use jquery-datetimepicker with webpacker

2020-02-11 Thread 'jake' via 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/ On Tuesday, February 11, 2020 at 2:56:16 AM UTC-6, fugee ohu wrote: > > I installed it with yarn but I don't know how to get it

[Rails] Re: how do i use jquery-datetimepicker with webpacker

2020-02-11 Thread fugee ohu
On Tuesday, February 11, 2020 at 12:03:35 PM UTC-5, jake wrote: > > 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/ > > On Tuesday, February 11, 2020 at 2:56:16 AM UTC-6,