Sha256: a6bd6b7118a148b18e8d88581231b46fb7dab3c9681f8bafe80d70defea4b175

Contents?: true

Size: 575 Bytes

Versions: 3

Compression:

Stored size: 575 Bytes

Contents

import { Application } from "@hotwired/stimulus"

const application = Application.start()

// Configure Stimulus development experience
application.warnings = true
application.debug    = false
window.Stimulus      = application

// Import and register all your controllers within this directory and all subdirectories
// Controller files must be named *_controller.js or *_controller.ts
import { definitionsFromContext } from "@hotwired/stimulus"
const context = require.context("controllers", true, /_controller\.(js|ts)$/)
application.load(definitionsFromContext(context))

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stimulus-rails-0.4.2 lib/install/app/javascript/controllers/index_for_webpacker.js
stimulus-rails-0.4.1 lib/install/app/javascript/controllers/index_for_webpacker.js
stimulus-rails-0.4.0 lib/install/app/javascript/controllers/index_for_webpacker.js