site

Website's source files.
git clone git://git.ryanmj.xyz/site.git
Log | Files | Refs | LICENSE

index.js (584B)


      1 // Import and register all your controllers from the importmap under controllers/*
      2 
      3 import { application } from "controllers/application"
      4 
      5 // Eager load all controllers defined in the import map under controllers/**/*_controller
      6 import { eagerLoadControllersFrom } from "@hotwired/stimulus-loading"
      7 eagerLoadControllersFrom("controllers", application)
      8 
      9 // Lazy load controllers as they appear in the DOM (remember not to preload controllers in import map!)
     10 // import { lazyLoadControllersFrom } from "@hotwired/stimulus-loading"
     11 // lazyLoadControllersFrom("controllers", application)