beta build

This commit is contained in:
Jason Jordan
2026-06-17 23:23:36 -04:00
parent 5f04811c16
commit 5a90ea6e14
48 changed files with 674 additions and 54 deletions
+9 -8
View File
@@ -2,14 +2,15 @@
import "@hotwired/turbo-rails"
import "trix"
import "@rails/actiontext"
import { Application } from "@hotwired/stimulus"
import { eagerLoadControllersFrom } from "@hotwired/stimulus-loading"
import { createIcons, icons } from "lucide-static";
// import { Application } from "@hotwired/stimulus"
// import { eagerLoadControllersFrom } from "@hotwired/stimulus-loading"
import "controllers"
// import { createIcons, icons } from "lucide-static";
document.addEventListener("turbo:load", () => {
createIcons({ icons });
});
// document.addEventListener("turbo:load", () => {
// createIcons({ icons });
// });
const application = Application.start()
eagerLoadControllersFrom("controllers", application)
// const application = Application.start()
// eagerLoadControllersFrom("controllers", application)
+3 -6
View File
@@ -1,11 +1,8 @@
// Import and register all your controllers from the importmap under controllers/*
// This file is auto-generated by ./bin/rails stimulus:manifest:update
// Run that command whenever you add a new controller or create them with
// ./bin/rails generate stimulus controllerName
import { application } from "controllers/application"
// Eager load all controllers defined in the import map under controllers/**/*_controller
import { eagerLoadControllersFrom } from "@hotwired/stimulus-loading"
eagerLoadControllersFrom("controllers", application)
// Lazy load controllers as they appear in the DOM (remember not to preload controllers in import map!)
// import { lazyLoadControllersFrom } from "@hotwired/stimulus-loading"
// lazyLoadControllersFrom("controllers", application)