Webpack Encore setup Symfony 5 Part 1 | Managing CSS and JavaScript | Entrypoints | Assets managment

preview_player
Показать описание
786=My lucky number
-----
From this video you will learn about
- Webpack Encore
- Managing CSS and JavaScript in Symfony 5
- Common CSS and JS in files in Symfony 5
- Entry points (Page specific CSS and JS)
-----------
-----------
Install Encore:
`composer require symfony/webpack-encore-bundle`
`npm install @symfony/webpack-encore --save-dev`

Compile assets and make build:
`npm run watch`

--------
Timecodes
0:00 Intro
0:26 Installation of Webpack Encore
1:15 Common CSS and JS management
2:41 Compile CSS and JS and make build using command
3:11 Meaning of "watch" in compile assets command
3:37 Apply and run common CSS and JS in project
4:56 Page specific CSS and JS
7:47 Call page specific entrypoints in twig file
10:25 About the next video on other modules of webpack
10:33 Please Like, Share and Subscribe
Thanks
Рекомендации по теме
Комментарии
Автор

Boy you saved my life ! Thank you <3

theXplit
Автор

Hello, thank you for the vidéo it worked but how can integrate multiple css and min.js files please, i don't even know which js file is linked to which css file since they don't have the same name.
I downloaded a template page so am a lil bit confused rn, thank you

Asgatin
visit shbcf.ru