mirror of
https://github.com/symfony/stimulus-bundle.git
synced 2026-03-24 01:12:07 +01:00
v2.26.0
chart examples by hello to avoid confusion with the ChartJS component (welcoMattic)
This PR was merged into the 2.x branch. Discussion ---------- [StimulusBundle] Docs, replace `chart` examples by `hello` to avoid confusion with the ChartJS component | Q | A | ------------- | --- | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Docs? | yes <!-- required for new features --> | Issues | Fix #... <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT As ChartJS component exists, the examples using `chart` as controller identifier are confusing. ChartJS component does not expect `name` and `data` as values, but `view`. Examples has been updated with a dead simple `hello world` style, which can not be confusing. Commits ------- 77ee62edd8b Replace `chart` examples by `hello` to avoid confusion with the ChartJS component
StimulusBundle: Symfony integration with Stimulus!
This bundle adds integration between Symfony, Stimulus and Symfony UX:
- A) Twig
stimulus_*functions & filters to add Stimulus controllers, actions & targets in your templates; - B) Integration with Symfony UX & AssetMapper;
- C) A helper service to build the Stimulus data attributes and use them in your services.
Languages
PHP
92.8%
TypeScript
7%
JavaScript
0.2%