Sha256: f8e32005fcc3df17a06040290a408d17743f4be37f7496b470eb48052db822ed

Contents?: true

Size: 269 Bytes

Versions: 3

Compression:

Stored size: 269 Bytes

Contents

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

3 entries across 3 versions & 1 rubygems

Version Path
saaskit-0.1.2 lib/generators/saaskit/install/templates/app/javascript/controllers/index.js
saaskit-0.1.1 lib/generators/saaskit/install/templates/app/javascript/controllers/index.js
saaskit-0.1.0 lib/generators/saaskit/install/templates/app/javascript/controllers/index.js