All Projects → hotwired → stimulus-webpack-helpers

hotwired / stimulus-webpack-helpers

Licence: MIT license
Webpack helpers for @hotwired/stimulus.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to stimulus-webpack-helpers

stimulus-transition
Enter/Leave transition for stimulusJS, inspired by Vue/Alpine syntax
Stars: ✭ 34 (+41.67%)
Mutual labels:  stimulusjs
RebelsManager
No description or website provided.
Stars: ✭ 61 (+154.17%)
Mutual labels:  stimulusjs
stimulus-content-loader
A Stimulus controller to asynchronously load HTML from an url.
Stars: ✭ 39 (+62.5%)
Mutual labels:  stimulusjs
stimulus reflex todomvc
An implementation of TodoMVC using Ruby on Rails, StimulusJS, and StimulusReflex
Stars: ✭ 50 (+108.33%)
Mutual labels:  stimulusjs
stimulus-carousel
A Stimulus controller to deal with carousel.
Stars: ✭ 22 (-8.33%)
Mutual labels:  stimulusjs
jumpstart-vite
⚡️ Jumpstart a new Rails app with Vite.js + Turbo + Stimulus, and more
Stars: ✭ 67 (+179.17%)
Mutual labels:  stimulusjs
shotgun
Ready to go Rails App with TailwindCSS, ViewComponent, Devise, and more!
Stars: ✭ 25 (+4.17%)
Mutual labels:  stimulusjs
rails 6 github template
Easy way to get a new Rails 6 project up and running.
Stars: ✭ 12 (-50%)
Mutual labels:  stimulusjs
Stimulus reflex
Build reactive applications with the Rails tooling you already know and love.
Stars: ✭ 1,928 (+7933.33%)
Mutual labels:  stimulusjs
stimulus-rails-nested-form
A Stimulus controller to create new fields on the fly to populate your Rails relationship.
Stars: ✭ 54 (+125%)
Mutual labels:  stimulusjs
stimulus-turbolinks-demo
A Stimulus + Turbolinks Demo of an app called Proposahoy!
Stars: ✭ 30 (+25%)
Mutual labels:  stimulusjs
stimulus-remote-rails
A Stimulus controller to handle Rails UJS events.
Stars: ✭ 18 (-25%)
Mutual labels:  stimulusjs
stimulus todomvc
[WIP] An implementation of TodoMVC using Ruby on Rails and StimulusJS
Stars: ✭ 14 (-41.67%)
Mutual labels:  stimulusjs
middleman starter kit
Middleman front-end starter kit
Stars: ✭ 19 (-20.83%)
Mutual labels:  stimulusjs
gomodest-starter
A complex SAAS starter kit using Go, the html/template package, and sprinkles of javascript.
Stars: ✭ 68 (+183.33%)
Mutual labels:  stimulusjs
gomodest-template
A template to build dynamic web apps quickly using Go, html/template and javascript
Stars: ✭ 77 (+220.83%)
Mutual labels:  stimulusjs
esbuild-rails
Esbuild Rails plugin
Stars: ✭ 102 (+325%)
Mutual labels:  stimulusjs
modern-rails-flash-messages
Modern Rails flash messages - Example App
Stars: ✭ 21 (-12.5%)
Mutual labels:  stimulusjs

Stimulus Stimulus Webpack Helpers

Using Stimulus Webpack Helpers

Call webpack's require.context helper with the path to the folder containing your Stimulus controllers. Then, pass the resulting context to the Application#load method using the definitionsFromContext helper:

// src/application.js
import { Application } from "@hotwired/stimulus"
import { definitionsFromContext } from "@hotwired/stimulus-webpack-helpers"

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

Getting Help & Contributing Back

Looking for the docs? Once you've read through the Handbook, consult the Stimulus Reference for API details.

Have a question about Stimulus? Connect with other Stimulus developers on the Hotwire Discourse community forum.

Find a bug? Head over to our issue tracker and we'll do our best to help. We love pull requests, too!

We expect all Stimulus contributors to abide by the terms of our Code of Conduct.

Acknowledgments

Stimulus is MIT-licensed open-source software from Basecamp, the creators of Ruby on Rails.

Continuous integration VMs generously provided by Sauce Labs.


© 2021 Basecamp, LLC.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].