Sha256: 2fcf892fe4fb1a0dcb91aefad20707ffba4dbf64d188e27d1b2f3675e5614866

Contents?: true

Size: 396 Bytes

Versions: 9

Compression:

Stored size: 396 Bytes

Contents

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

import {Application} from 'stimulus';
import {definitionsFromContext} from 'stimulus/webpack-helpers';

const application = Application.start();
const context = require.context('controllers', true, /-controller\.js$/);
application.load(definitionsFromContext(context));

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rails-server-monitor-0.2.1 app/javascript/controllers/index.js
rails-server-monitor-0.2.0 app/javascript/controllers/index.js
rails-server-monitor-0.1.10 app/javascript/controllers/index.js
rails-server-monitor-0.1.9 app/javascript/controllers/index.js
rails-server-monitor-0.1.8 app/javascript/controllers/index.js
rails-server-monitor-0.1.7 app/javascript/controllers/index.js
rails-server-monitor-0.1.6 app/javascript/controllers/index.js
rails-server-monitor-0.1.5 app/javascript/controllers/index.js
rails-server-monitor-0.1.4 app/javascript/controllers/index.js