React and Sass Tutorial - Intro to SASS

  Рет қаралды 99,858

PedroTech

PedroTech

Күн бұрын

Пікірлер: 93
@andrewbrower4158
@andrewbrower4158 3 жыл бұрын
This is an excellent video. One important detail that was missed in this video is regarding the savePath for Live Sass Compiler to know where you want it to create the css file for each scss file that it watches. If your Live Sass Compiler is placing the css files in a "dist" folder in your project root, go into your Live Sass Compiler settings and change your "liveSassCompile.settings.formats" to the following: { "format": "compressed", "extensionName": ".min.css", "savePath": "~/" } This also minifies the css file which is good for production.
@tasnimtanzimpricila9361
@tasnimtanzimpricila9361 2 жыл бұрын
Thank you so much
@ChukwunenyeEmmanuel-o5x
@ChukwunenyeEmmanuel-o5x 18 күн бұрын
3 years later and this tutorial is still great, thanks for sharing PedroTech
@owltrades
@owltrades 3 жыл бұрын
Most underrated Channel i've ever seen. 🔥
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Glad you think so!
@137dylan
@137dylan 3 жыл бұрын
Are you reading my mind? I searched for this literally just this morning. Thanks!
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Hahaha happy to hear that
@cmoney1928
@cmoney1928 2 жыл бұрын
Best explanation of react and sass configuration I’ve seen
@SvetaSveta-ms4hi
@SvetaSveta-ms4hi 3 жыл бұрын
OMG, I'm obsessed with your channel. You deserve way more subscribers. 😍
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Hahaha thank you! Appreciate the support!
@kunaltiwari3118
@kunaltiwari3118 3 жыл бұрын
Once again, a masterpiece from Pedro Tech
@fadzisondoro32
@fadzisondoro32 3 жыл бұрын
I'm new to sass, like this has been the first video I'm watching on it and you explained it so well! I'm totally sold on it, and its efficiency! Would definitely love to see more advanced sass videos from you Pedro, thanks sm!!
@8koi139
@8koi139 2 жыл бұрын
The live sass does not work whit @use & @forward, and @import is deprecated, I use sass -w origin_path:destiny_path, also working whit _part files, makes it way easier, since it doesn't keeps creating new css files. Happy learning!
@developersstack2640
@developersstack2640 3 жыл бұрын
Great Tutorial. But we can npm i sass instead of installing the vs-code extension for watching the .scss file. And we can directly import the .scss file to our .jsx files. Either way! this was really helpful.
@NikhilKumar-ry7eg
@NikhilKumar-ry7eg 2 жыл бұрын
this will be less messy, thanks
@siriusjaeger2823
@siriusjaeger2823 2 жыл бұрын
what about the autoprefixer?
@ijlmandal
@ijlmandal Жыл бұрын
Correct, to make everything simplier :D
@bowss111
@bowss111 3 жыл бұрын
Would be great to see a full project with react and sass to see how you organize your folders etc.
@namesare4fools
@namesare4fools 3 жыл бұрын
Same, i need best practice desprately, my codebase is a mess !
@anuoluwapoomobolaji5642
@anuoluwapoomobolaji5642 2 жыл бұрын
I promise this is a beautiful tutorial, every part was explained clearly. Thank you.
@CPower1248
@CPower1248 3 жыл бұрын
Sass is amazing, you are amazing! Super comprehensive intro, everything you need to get well on your way with Sass. I'd love to see an advanced Sass vid like you mentioned. Specifically implementing selectors such as :hover or :focus, as well as animations perhaps using keyframes? Is that something you might do in the future? Thanks for the vids, love your content!
@sofiaferrer4481
@sofiaferrer4481 3 жыл бұрын
Pedro, estás salvando mi carrera, te amo!! ❤️
@k303k
@k303k Жыл бұрын
Thanks a lot for the video Pedro!! Hoping more Sass tutorials from you
@elenemetreveli1523
@elenemetreveli1523 2 жыл бұрын
Your channel is a gem! I just wanna thank you🙏
@DetlefDumpelmann
@DetlefDumpelmann 3 жыл бұрын
Hey Pedro, don't use that live sass compiler from Ritwick Dey it has problems. Use the other one instead (Glenn Marks) that one is up to date and won't cause as much problems.
@TheNamesJT
@TheNamesJT 3 жыл бұрын
Whats your output path for the compiler? to make it compile in the same folder as the scss file is in. Also, for some reason component.module.scss isn't working and not sure why. Make a video on using css module with scss because can't seem to get it to work myself unfortunately.
@alexalex-zh4ep
@alexalex-zh4ep Жыл бұрын
You have explained perfect! Thak's!
@martingonsalves430
@martingonsalves430 3 жыл бұрын
Yes , nice Pedro , keep up the good work!
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Thanks a lot!
@maxmaksum4673
@maxmaksum4673 3 жыл бұрын
aweaome..you make sass easy and clear..
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Glad to hear that!
@ChrisMochinskiMusic
@ChrisMochinskiMusic 3 жыл бұрын
1. The other .css/map/etc files were not auto-generated (7:20ish). I assume I'm doing something wrong. 2. I DID to an npm -g install sass and things appear to be working with my .scss file imported as-is on my App.jsx (working on all other components). Sweet. Love to hear thoughts on this! Go easy on me. Just trying to learn a bit.
@randymartin5523
@randymartin5523 2 жыл бұрын
Same issue. I cant seem to find a solution either.
@kramyshan8121
@kramyshan8121 Жыл бұрын
Very good explanation. Thank you!
@mariacenci1772
@mariacenci1772 Жыл бұрын
Great tutorial thank you so much!! 10000x times better than my course :)
@santaclaus897
@santaclaus897 9 ай бұрын
Excellent video. Thank you for your time
@rahulmadishetty5820
@rahulmadishetty5820 3 жыл бұрын
When I save my SCSS Its not able to generate CSS. Please help me on this
@sahilsuman3820
@sahilsuman3820 3 жыл бұрын
you haven't turned on the watch scss on the bottom of your vs code
@thewiscokid81
@thewiscokid81 3 жыл бұрын
Live SASS does not support the @use and @forward. SASS is moving away from the @import. Maybe you could redo this video.
@kalahari8295
@kalahari8295 2 жыл бұрын
Hope so 😪
@MehediHassan-pn5uc
@MehediHassan-pn5uc 2 жыл бұрын
looking forward to advance sass tuitorial brother!
@codedropsjs9633
@codedropsjs9633 3 жыл бұрын
do I have to use Sass to make sure that CSS code works in all browsers or REACT does it just using regular CSS? I really need to know it. Thanks for this video
@supriyakumari1908
@supriyakumari1908 3 жыл бұрын
Hey can you make one small example with HOC and React Router together? Thanks
@maxmaksum4673
@maxmaksum4673 3 жыл бұрын
would be great
@promisingpurchase7343
@promisingpurchase7343 2 жыл бұрын
Would it be better to write a script tag to compile Sass in your json file so that your styles are put into one css file instead of compiling two separate css files for each scss file? this is a great video but just curious on the best method to use sass with react.
@SunilNadar
@SunilNadar 4 ай бұрын
Very insightful.
@shriraammks1681
@shriraammks1681 2 жыл бұрын
Would appreciate seeing ya make a whole website on sass :)
@deboranortes
@deboranortes 29 күн бұрын
Olá, Pedro. Gostei muito do seu conteúdo. Abri seu site para pesquisar o curso, mas a página não traduz para o meu idiona de forma alguma. Alguma dica?
@albertoleitao94
@albertoleitao94 Жыл бұрын
I have the sass compiler and the sass extensions. however when I save iit the not create the css files with the compiled scss.
@yariveon
@yariveon 2 жыл бұрын
Great tutorial! Thank you very much!
@gusmt66
@gusmt66 3 жыл бұрын
Great explanation. However, the Variables.scss file is being compiled unnecessarily since you imported it from Navbar.scss and MainPage.scss There must be a way to only compile the .scss you will actually need.
@romimaximus
@romimaximus 3 жыл бұрын
Ok i see you installed the "sass" extension, but i didnt understand, how does the ".sass" extension, run ? you have to configure it ? and how do you get the ".sass" extension started and watch the ".sass" extension files ?
@Praxis_by_tanay_pingalkar
@Praxis_by_tanay_pingalkar 3 жыл бұрын
in CRA, sass is configured by default, you just need to install it but if you are using webpack you need to configure it.
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Yep! You technically dont need to do anything after downloading the extension. It will look for all .scss files and compile them to css!
@filibertogarced
@filibertogarced 2 жыл бұрын
You saved me. ❤️
@steveadeyemi
@steveadeyemi Жыл бұрын
Kindly help teach us how to use sass and react full tutorial. Thanks
@angelaraoz5482
@angelaraoz5482 3 жыл бұрын
Good video, hope see more like this. I have a question, dont u have to install Node-sass to compile sass-css..? I have seen videos where are using this method... sorry if im wrong, im new in this. Im just asking...Nice video, thx for all...!!!!!
@maxmaksum4673
@maxmaksum4673 3 жыл бұрын
here we go again...thank you bro..
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Always welcome!
@ThColinPereira
@ThColinPereira 3 жыл бұрын
Great video, thanks Pedro
@tegaogheneovo5881
@tegaogheneovo5881 3 жыл бұрын
PedroTech totally unrelated working on a social media platform, want to simulate a gif using canvas.basically creating a canvas component which adds stickers or 3d objects to different frames of an image or video then converts the canvas (server side) to either a video or an audio gif: basically automat a gif with a canvas allow play and pause ,then add an audio file as a constraint to play and pause can you do a basic video on react with canvas thank you 😁 sensei😔🙏
@mukeshdutt8025
@mukeshdutt8025 2 жыл бұрын
This is SASS specific video, why you have used react project you can explain simply with HTML file also. React already has SASS package that package internally convert SCSS to CSS and instead of that you mentioned install vscode extension.
@marktheunknown1829
@marktheunknown1829 Жыл бұрын
He mentioned in the beginning that this is a specific SASS+React video😂
@stefangriffin986
@stefangriffin986 3 жыл бұрын
Hi. great rect-sass info. The video quality it s a bit annoying... hope you can fix that bc you created a good material.
@Justinsbpark
@Justinsbpark 3 жыл бұрын
Thanks for the great video. How do you add global CSS? Let's say I want to add something like body: { font-family: 'Arial', sans-serif; }, which file should use?
@chandrakant6283
@chandrakant6283 2 жыл бұрын
One doubt that i still have is: Is it bad to use sass/scss with react ?
@abhaytiwari6411
@abhaytiwari6411 3 жыл бұрын
Well done my dear friend👍
@vijaynavale3919
@vijaynavale3919 3 жыл бұрын
What if there is 100s of components? Then there will 100s of sass, css, css.map files how will we manage that?
@sirpripyat4274
@sirpripyat4274 Жыл бұрын
Thanks for the video
@jeremyh9841
@jeremyh9841 2 жыл бұрын
u dont need to install node-sass ?
@marwa_als
@marwa_als Жыл бұрын
شكرا لك ، قناتك جدً مفيدة
@h__m7551
@h__m7551 Жыл бұрын
Thank you very match bro!
@vince8093
@vince8093 3 жыл бұрын
hey pedro can you make a cms tutorial or a advanced javascript tutorial because im struggling to learn it. Love your work.
@Uz_GameTactics
@Uz_GameTactics Жыл бұрын
Thank you bro ♥👍
@kushagraaagnihotri1081
@kushagraaagnihotri1081 3 жыл бұрын
why not use node-sass?
@abdessamade6995
@abdessamade6995 2 жыл бұрын
helpful video thanks
@idrisisholaagboola8676
@idrisisholaagboola8676 3 жыл бұрын
Nice tutorial, I always enjoyed your tutorial...I will be so grateful if you can make a tutorial on user authenticate with social media in mern stack either graphql or restAPI
@PedroTechnologies
@PedroTechnologies 3 жыл бұрын
Thank you! Thats a good video idea!
@piyankarajayadewa7157
@piyankarajayadewa7157 Жыл бұрын
Crisp!
@abhishekrawat8579
@abhishekrawat8579 3 жыл бұрын
thanks man🔥❤️
@MuhammadBilal-hq3xn
@MuhammadBilal-hq3xn 3 жыл бұрын
I love you my Friend
@pearlsswine
@pearlsswine 3 жыл бұрын
This video could have been, like, 50% shorter if the first half wasn't an unnecessary CSS tutorial. LIke, yeah, I know how to use CSS, I don't have to watch you write a couple dozen CSS properties before getting to the actual Sass part.
@mahendranath2504
@mahendranath2504 3 жыл бұрын
Thank you 👍🏼
@njw_cs
@njw_cs 2 жыл бұрын
Thank you
@crypto4elik
@crypto4elik Жыл бұрын
nice
@vuxuanhuy9079
@vuxuanhuy9079 2 жыл бұрын
I love code
@kalahari8295
@kalahari8295 2 жыл бұрын
Make a video that involves configuration. Not everyone uses vsCode. Please ༎ຶ‿༎ຶ
@tarek_maza
@tarek_maza 3 жыл бұрын
Sass isn't a CSS framework, it is a CSS preprocessor!
@darshaanaghicha8023
@darshaanaghicha8023 3 жыл бұрын
Live SASS Compiler is outdated
@RiteshNEVERUNIFORM
@RiteshNEVERUNIFORM Жыл бұрын
rovery
@sabertoothwallaby2937
@sabertoothwallaby2937 3 жыл бұрын
Órale wey
@savithnishitha5562
@savithnishitha5562 3 жыл бұрын
S**ass** 😅😅
@pete531
@pete531 Жыл бұрын
Bad video, very outdated. file structure is bad and also everything except you main style sass file should have "_" before the first letter, that means its a partial and it wont be compiled. then when everything is merged into main sass file, only that one is compiled into css
Sass Crash Course 2022
58:51
Pixel Rocket
Рет қаралды 31 М.
React Redux Tutorial For Beginners | Redux Toolkit Tutorial 2021
53:26
Миллионер | 3 - серия
36:09
Million Show
Рет қаралды 2,1 МЛН
МЕНЯ УКУСИЛ ПАУК #shorts
00:23
Паша Осадчий
Рет қаралды 5 МЛН
Why no RONALDO?! 🤔⚽️
00:28
Celine Dept
Рет қаралды 81 МЛН
Don't underestimate anyone
00:47
奇軒Tricking
Рет қаралды 20 МЛН
Ускоряем верстку | Гайд по препроцессору стилей | Sass (SCSS)
27:02
Александр Ламков — Friendly Frontend
Рет қаралды 31 М.
Learn Sass In 20 Minutes | Sass Crash Course
19:42
developedbyed
Рет қаралды 941 М.
Sass Crash Course
48:05
Traversy Media
Рет қаралды 404 М.
CSS-модули, SASS/SCSS и сброс стилей в React-приложении
18:28
Михаил Непомнящий
Рет қаралды 37 М.
#18 Сравниваем 6 способов работы со стилями - ReactJS Полный курс
24:14
Styled Components Full Tutorial - Style Your Components in React
23:54
Stop using an extension to compile Sass
21:39
Kevin Powell
Рет қаралды 130 М.
How I Write Clean Code in React
16:36
Cosden Solutions
Рет қаралды 32 М.
Me Charging My Phone Before Going Out
0:18
Godfrey Twins
Рет қаралды 14 МЛН
Это самый популярный гаджет в мире
0:20
купила SAMSUNG Z FLIP 6 🎀 и вот что получилось
0:47
Лучший лайфхак для клавиатуры 🤡
0:57
ПРОСТО ЛЕШКА
Рет қаралды 2,8 МЛН