Sha256: 918ac2aef79a0f6ebda09ddf75b2f16f7e01aaa057d4f619aa8f90d5b7d55aae

Contents?: true

Size: 415 Bytes

Versions: 12

Compression:

Stored size: 415 Bytes

Contents

// Load all the controllers within this directory and all subdirectories. 
// Controller files must be named *_controller.js or *_controller.ts.

import { Application } from "stimulus"
import { definitionsFromContext } from "stimulus/webpack-helpers"

window.Stimulus = Application.start()
const context = require.context("controllers", true, /_controller\.(js|ts)$/)
Stimulus.load(definitionsFromContext(context))

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
stimulus-rails-0.3.11 lib/install/app/javascript/controllers/index.js
stimulus-rails-0.3.10 lib/install/app/javascript/controllers/index.js
stimulus-rails-0.3.9 lib/install/app/javascript/controllers/index.js
stimulus-rails-0.3.8 lib/install/app/javascript/controllers/index.js
stimulus-rails-0.3.7 lib/install/app/javascript/controllers/index.js
stimulus-rails-0.3.6 lib/install/app/javascript/controllers/index.js
stimulus-rails-0.3.5 lib/install/app/javascript/controllers/index.js
stimulus-rails-0.3.4 lib/install/app/assets/javascripts/controllers/index.js
stimulus-rails-0.3.3 lib/install/app/assets/javascripts/controllers/index.js
stimulus-rails-0.3.2 lib/install/app/assets/javascripts/controllers/index.js
stimulus-rails-0.3.1 lib/install/app/assets/javascripts/controllers/index.js
stimulus-rails-0.3.0 lib/install/app/assets/javascripts/controllers/index.js