Sass in Next.js Tutorial - Write SCSS with CSS Modules

preview_player
Показать описание
* Basic Sass and SCSS features

🗒️ Read More

🔔 Subscribe for more tech and developer videos

🐦 Get updates straight to your Twitter @colbyfayock

📸 Catch the next stream live on Twitch @colbyfayock

✉️ Or a newsletter right to your inbox!

💝 Sponsor me for more free content like this!

🎥 Want to know what A/V equipment I use?

🧰 More Resources

Sass

🎼 Music
Discotek by Silent Partner
YouTube Audio Library

#colbyfayock #scss #nextjs #sass #css #webdevelopment
Рекомендации по теме
Комментарии
Автор

Thumb up! Directly to the point, no waste of time.
Charming personality and cool voice.

Greetings from Syria

NourHomsi
Автор

Incredibly i learned this in your 5 minutes, you are great bro.

Tonyloops
Автор

that mixins trick earned you a new subscriber 😂

peapuffer
Автор

That's a handy stack for getting your CSS dreams done. Love it!

KieCodes
Автор

I like that you explain things fast :) good job!!!

MaximVasilkov
Автор

Thanks a bunch for such an amazing tutorial ☺️

SvetaSveta-mshi
Автор

I know file structure is very important in Next, can you go over the proper file structure for SCSS in Next? What I usually do in React projects is build the 7 folder structure and import things into an index file that lives on the top level app. It doesn't seem like you do that with Next and its .modules.scss file extensions.

keithbillings
Автор

That's the best thing I learned today, Thanks Keep up

signorDJ
Автор

First time on your channel and I loved this video, straight to the point, no fluff! I have subbed for more of your content

RolandoLopez-gyvc
Автор

Nice tutorial! React is doing the parse to css automatically behind the scenes? There's no generated .css file to keep track?

flavioneto
Автор

thank you ! It is simple and efficient

axelpo
Автор

I've problem with npm run build or next build both are failing because of sass I made sure I have installed node-sass and sas but still not luck

itgiants
Автор

If you were to keep your color variables in that `globals.css` file, do you have to import this file in every .scss module you create?

johncyp
Автор

Next Vid idea: How to make a full stack app with MENN stack (Mong, Express, Node, Next JS)

mudandmoss
Автор

Great video, thank for share us this content

marlonmorales
Автор

How do you conditionally name a className with it though? The styles variable throws me off.

DaWizardOfOz
Автор

How to use global mixins in scss modules without importing?

shurinskiy
Автор

How can I use a SASS variable in html or body CSS selectors?
I mean I can convert global.css to global.module.sass and replace "color: #333" with "color: $colors.primary" but then I cannot import global.module.sass anymore

AlessandroPiccione
Автор

does this work with create-react-app? is there a way to do this? thanks!

frannyglass
Автор

Do I need to change any thing in the nextconfig file for sass to render ?

jrgunner