mirror of
https://github.com/symfony/recipes.git
synced 2026-09-17 18:16:34 +03:00
15 lines
582 B
Plaintext
15 lines
582 B
Plaintext
|
|
* Add a <comment>data-controller="hello"</> attribute to any element to try the example controller.
|
|
|
|
* Using <fg=green>Symfony Reprise</>? Turn Stimulus on by adding the <fg=green>stimulus</> option to the
|
|
Symfony() plugin in your <comment>vite.config</> or <comment>rsbuild.config</>:
|
|
|
|
Symfony({
|
|
stimulus: './assets/controllers.json',
|
|
})
|
|
|
|
* Using <fg=green>Webpack Encore</>? Install the Stimulus bridge, which is no longer
|
|
added automatically as of StimulusBundle 3.3:
|
|
|
|
<fg=green>npm install --save-dev @symfony/stimulus-bridge</>
|