aboutsummaryrefslogtreecommitdiff
path: root/www/rubygem-stimulus-rails/pkg-descr
blob: 37ed1125c80640a84b03231423b1bddc99a9f625 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
Stimulus is a JavaScript framework with modest ambitions. It doesn't seek to
take over your entire front-end in fact, it's not concerned with rendering HTML
at all. Instead, it's designed to augment your HTML with just enough behavior to
make it shine. Stimulus pairs beautifully with Turbo to provide a complete
solution for fast, compelling applications with a minimal amount of effort.
Together they form the core of Hotwire.

Stimulus for Rails makes it easy to use this modest framework with both
import-mapped and JavaScript-bundled apps. It relies on either importmap-rails
to make Stimulus available via ESM or a Node-capable Rails (like via
jsbundling-rails) to include Stimulus in the bundle. Make sure to install one of
these first!