ecoffee/app/javascript/application.js

8 lines
259 B
JavaScript

// Configure your import map in config/importmap.rb. Read more: https://github.com/rails/importmap-rails
import "htmx.org"
import htmx from "htmx.org"
htmx.logger = function(elt, event, data) {
if(console) {
console.log(event, elt, data);
}
}