Support for Dynamic/Lazy loading of Stimulus Controllers.
Controllers are currently imported as so in Jumpstart:
// Register each controller with Stimulus
import controllers from "./**/*_controller.js"
controllers.forEach((controller) => {
application.register(controller.name, controller.module.default)
})How would one go about lazy loading them similar to the setup in https://github.com/hotwired/stimulus-rails?
Notifications
You’re not receiving notifications from this thread.