I am creating a symfony bundle.
I don't understand how to deal with assets in my bundle. I am used to Webpack Encore and I thought I could have my js/css with webpack encore as usual, generate production assets in the Resources/public directory as suggested by the Symfony Bundle good practises and it will work with the 'encore_entry_script_tags(nameoftheentry)'.
However, I am seeing that in fact, including assets as that in my twig templates in my bundle, it tries to find out assets inside the main application and not inside the bundle.
I don't know how to solve this.
Thank you in advance, have a great day.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…