You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR was squashed before being merged into the 6.1 branch.
Discussion
----------
Add assets to the documentation
'assets' used to be in the /Resources folder, but seems like it should be at the root now, like config and views/templates.
I'm guessing that if package.json is in right place, then flex will register the stimulus controller, although I haven't been able to do that yet: symfony/flex#919
Commits
-------
32ff705 Add assets to the documentation
I'd like my stimulus controller to be automatically registered in my app via an auto-recipe, like ux-chartsjs works.
Ryan has given me some guidance in SymfonyCasts stimulus controller tutorial (https://symfonycasts.com/screencast/stimulus/controllers#comment-5420791953), but in my bundle the package.json and controllers.json aren't updated by the recipe.
I'm using a Symfony 6.1 simplified recipe, so perhaps there's an issue with the condition that triggers the recipe.
Does the package.json need to be in a particular path of the bundle? I've tried it in Resources, assets, and Resources/assets
I've enabled stimulus bridge in webpack.config.js
I've put together a simple hello bundle that is structured like chartjs. This isn't working for me (not in packagist, so it requires adding the repo).
What I'm expecting is to see controllers.json add these lines;
and package.json to add this in devDependencies
I imagine this is something simple, but I can't figure out what triggers this recipe. Thanks.
The text was updated successfully, but these errors were encountered: