Комментарии:
noice
ОтветитьHey, great video. However I've discovered, that I do not get the asset/controller folder after running composer require symfony/webpack-encore-bundle. Nor the bootstrap.js file. Just the app.js and asset/styles/app.css. What step is missing?
Cheers
ENCORE is the stupidest, incomprehensible and redundant project that has ever been in programming.
ОтветитьThanks a lot for this.
It's really helpful for me
"./" doesn't go back one directory. It's a pointer to the current directory (/assets/). If you like to go back or up one directory, you have to write "../" (which would be wrong here).
ОтветитьTip: if you run npm run watch before adding method1.js in app.js and method2.js in webpack you will got compiled only method1.js. To get method2.js in build folder you need run npm run dev.
ОтветитьGreat video! Darynazar you didn't mention running npm install before running npm run dev. Without with it will give error about encore dev. But I see in video that you have already package-lock.json so you run it before recording video :)
Ответитьthank you Dary
Ответить