Sha256: 6087a9187a93dca69f29f7b9cbf08b7f78d636404593644da08280c4907845be
Contents?: true
Size: 577 Bytes
Versions: 3
Compression:
Stored size: 577 Bytes
Contents
// Import and register all your controllers from the importmap under controllers/* import { application } from "./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)
Version data entries
3 entries across 3 versions & 1 rubygems