{{title}}
{{editor}}'s edit
{{editor}}'s edit
-
I'm creating a project using Symfony and I'm having problems with the Apparently this package is not available on npm and yarn, I installed it via composer as the documentation recommends. These are the steps I reproduced until I came across the error: Creating Symfony App composer create-project symfony/skeleton symfony_skeleton Package installation composer require webapp composer require symfony/asset-mapper symfony/asset symfony/twig-pack symfony/stimulus-bundle composer require webpack The problemWhen I run I ran the commands before running
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
The StackOverflow question you provide already had an accepted answer which seems to make sense. Did you try configuring or removing the AssetMapper component? |
Beta Was this translation helpful? Give feedback.
I understand, besides the error you told me
also find out something else I was doing wrong
In this case, the result obtained is in fact the string 'data-controller'hello'. Since the controller was not linked to an HTML element, but rather written in the "body" of the document, the correct way to use it would be:
Thank you for your attention and help