Symfony Webpack Encore Tutorial: Compiling JavaScript + CSS

  Рет қаралды 9,917

Gary Clarke

Gary Clarke

Күн бұрын

Пікірлер: 35
@danilivanov
@danilivanov Жыл бұрын
For a long time I was afraid to use this in my projects. But here I am =) Thanks =)
@GaryClarkeTech
@GaryClarkeTech Жыл бұрын
You are welcome!
@ombrax5
@ombrax5 Жыл бұрын
Thank you so much, Gary! This is exactly what I need as to beginning understanding webpack encore. Great work.
@GaryClarkeTech
@GaryClarkeTech Жыл бұрын
Glad it was helpful!
@FlowWOBO
@FlowWOBO 3 жыл бұрын
Thank you Gary for this very clear little tutorial. I'm looking to go further with configureDevServerOptions and 'hot' + 'livereload', but can't seem to get it to work. Did you go further in this direction?
@GaryClarkeTech
@GaryClarkeTech 3 жыл бұрын
Thanks..no I didn't go any deeper into it. I may add some more Symfony frontend stuff when we get S6...I'm wary of stuff quickly dating if I do much more S5 atm
@sonoftroy8572
@sonoftroy8572 Жыл бұрын
thanks for the tutorial! great content. quick question, when you're using symfony 6 do you ever adjust the zend_extension = opcache in the php.ini for better performance? when I adjusted the setting, the load time appeared to be very slow. any suggestions thanks
@GaryClarkeTech
@GaryClarkeTech Жыл бұрын
You're welcome. It's a long time since I've ever been required to touch that setting..I think I may have it enabled by default.
@adrianfgutierrez2836
@adrianfgutierrez2836 4 жыл бұрын
You channel going up
@pavelgolin2421
@pavelgolin2421 4 жыл бұрын
very nice and helpful! thanks
@GaryClarkeTech
@GaryClarkeTech 4 жыл бұрын
Cheers Pavel!
@jericoluislua
@jericoluislua 2 жыл бұрын
Hi I am trying to go through with these tutorial. Everything worked kinda.. I was able to build the files and its being shown in the browser network analysis. But if you look at the website the changes arent being made. Any idea whats causing this?
@GaryClarkeTech
@GaryClarkeTech 2 жыл бұрын
Possibly caching? Have you tried clearing your browser cache? I use a chrome extension called Clear Cache for this kind of thing.
@jericoluislua
@jericoluislua 2 жыл бұрын
@@GaryClarkeTech Thanks for the very quick reply! Turns out bootstrap was overwriting the default test css body color change Thats why i wasnt able to change it. I tested changing the paragraph tag’s font color and it was working!
@AlfinAndri
@AlfinAndri 2 жыл бұрын
Thank you. Lovely tutorials. How do we just only compile one or two files of on our own css/js files, excluding third party libs (bootstrap, fontawesome, jquery). I mean, if we run --watch flag, and working on own css, we don't need to compile other 3rd party library (bootstrap, fontawesome) right? They compiled just one-time only. How do we do that? Thank you.
@GaryClarkeTech
@GaryClarkeTech 2 жыл бұрын
You'd need to remove references to the 3rd party libraries in order to exclude them
@AlfinAndri
@AlfinAndri 2 жыл бұрын
@@GaryClarkeTech Thank you Gary, you're awesome.
@KOSMOS-so6vw
@KOSMOS-so6vw 3 жыл бұрын
Kind people who can tell you how to call up a list of referrals in the symphony? I have a registration done by the ref link, the input is already configured, but I can't call up a list of everyone I invited, whatever I wrote in the controller, it gives me either an error or the one who invited me or my information and that's it
@qkenkenu
@qkenkenu 2 жыл бұрын
console.log('msg') in app.js not working, no matter wich wersion od encore i'm using.... js and the tools they build on top of it.. never works to me...
@GaryClarkeTech
@GaryClarkeTech 2 жыл бұрын
I'll check it out
@disconnect3763
@disconnect3763 6 ай бұрын
Thank you!
@adrianfgutierrez2836
@adrianfgutierrez2836 4 жыл бұрын
God job 👏👏👏 Thank you 👍
@GaryClarkeTech
@GaryClarkeTech 4 жыл бұрын
Welcome Adrián!
@fitter2boss72
@fitter2boss72 2 жыл бұрын
Why we don't see HMR here? :)
@parijke
@parijke 4 жыл бұрын
Maybe nice to follow up how to integrate with things as tailwind or purgecss or vue or ....
@GaryClarkeTech
@GaryClarkeTech 4 жыл бұрын
Yeah you're right. I'll definitely do that at some point in the future.
@bakaleisanich
@bakaleisanich 4 жыл бұрын
@@GaryClarkeTech react =)
@GaryClarkeTech
@GaryClarkeTech 4 жыл бұрын
@@bakaleisanich Vue and React are both supported by Webpack Encore so maybe I'll touch both
@bakaleisanich
@bakaleisanich 4 жыл бұрын
@@GaryClarkeTech mmm)
@fitter2boss72
@fitter2boss72 3 жыл бұрын
Thank you. But, may be you show how to use EasyAdmin bundle in the future , I think it will be helpfull . Some times need to make small admin fitures fast as possible.
@GaryClarkeTech
@GaryClarkeTech 3 жыл бұрын
Noted..thanks for the suggestion
@bakaleisanich
@bakaleisanich 4 жыл бұрын
Thank You!
@GaryClarkeTech
@GaryClarkeTech 4 жыл бұрын
Welcome!
@369-davian
@369-davian 2 жыл бұрын
hi master, from dominican republic, visit us and enjoy, thanks for all the lesson 🐬
@GaryClarkeTech
@GaryClarkeTech 2 жыл бұрын
Maybe one day!
Symfony Routing Tutorial
11:11
Gary Clarke
Рет қаралды 8 М.
"Идеальное" преступление
0:39
Кик Брейнс
Рет қаралды 1,4 МЛН
Air Sigma Girl #sigma
0:32
Jin and Hattie
Рет қаралды 45 МЛН
Symfony Messenger plus RabbitMQ
11:32
Gary Clarke
Рет қаралды 17 М.
Learn Webpack - Full Tutorial for Beginners
1:53:01
freeCodeCamp.org
Рет қаралды 388 М.
Why is Laravel NOT used in Big Development Projects?
11:53
Stefan Mischook
Рет қаралды 184 М.
Symfony 6 - How to manage CSS in Symfony app using Webpack?
7:11
Why You Should Use React Aria Components...
30:08
Jolly Coding
Рет қаралды 16 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 220 М.
Symfony 5 Test Driven Development (TDD) Tutorial
1:25:00
Gary Clarke
Рет қаралды 46 М.
Symfony 6 - How to manage JS in Symfony app using Webpack?
7:14
Pixel 7 и 7 Pro с Face ID - лучше iPhone 14 Pro!
21:12
Rozetked
Рет қаралды 457 М.
КАК ЖИВЕТ КВАНТУМ? РУМ ТУР КВАНТУМА!!!
13:51