Handle CSS and JavaScript in a Symfony 8.1 app. Use whenever you add, build, reference, version, or debug front-end assets: AssetMapper (recommended, no build step, importmap.php, importmap:require, asset-map:compile), Webpack Encore (Node-based alternative, npm run dev/build), Stimulus controllers, Symfony UX, Turbo, Tailwind or Sass, or the asset() / importmap() Twig functions. Trigger on requests like "add a JS library", "load my CSS", "use Tailwind", "set up Stimulus", "compile assets for production", "version my images", or any mention of assets, importmap, Encore, Stimulus, UX, or Turbo.
2026-06-27