Frank Betorina
Joined
1,130 Experience
11 Lessons Completed
0 Questions Solved
Activity
This episode is (again) more than excellent! And very useful of course.
See you at RailsWorld Chris.
Alternatively to the webpacker way of require the flatpicker css in the packs/application.js
you can do someting like:
/*
*= require flatpicker/dist/flatpicker
*/
In your rails app/assets/stylesheets/application.css
(or other) manifest file.
Hi Chris, great episode! You can also skip the extra gem(s) and compatibility files by simply changing code. Doing something like:
Old Turbolinks Classic:
$(document).on "ready page:load", ->
# CoffeeScript code
Turbolinks 5:
$(document).on "turbolinks:load", ->
# CoffeeScript code