14 - Symfony 4 Beginners: Assets managment & Symfony Encore

preview_player
Показать описание
How to manage assets like js and css files in Symfony 4 Beginners, This video is part of The Learn Symfony 4 Beginners series.
Рекомендации по теме
Комментарии
Автор

If i, say, dont have access to a web server config files. Is there any other ways to define public dir as root one?

petruconiuc
Автор

Salam bro, can you make a video on Symfony app deploying please :)

bolovy
Автор

Can you please make a video about using the typescript loader, in my case he has problems with the tsconfig.json file, because he says thate the files array is empty and I have tried a lot to fix it...

Of couce i could just use the bundler parcel, but it would be cooler to do it the symfony way :-)

alexweissnicht
Автор

can u tell the title of the terminal u used on this vid at the begining?

ICSVortex-DCS
Автор

Good job !! Thank you for the tutorial. I have 3 questions. It would be a great pleasure to receive feedback from you.

1) In case the command `npm watch --dev` stops because of a problem somewhere, is there a way to restart it automatically? This is the recommended solution.

2) Why use npm, the doc mentions `yarn` as a package management tool.

3) Why use this webpack abstraction layer, what are the benefits?

Cheers

ahmedebenhassine
Автор

I switched back from webpack encore to gulp. :-|

rainerschulz
Автор

TBH, it seems useless, I'd rather use requireJS and use relative paths than going through this added layer which require more clutter in the tree structure and having a process always running to watch for change. Moreover, if the purpose is to hide the JS structure, other plugins exists to transform a JS files structure into a single file.

Nonetheless, thanks for the video, now I'm confident about not using encore and webpack.

CollMomo