Does anyone know why Kevin used _index.scss instead of index.scss when setting up @use and @forward?
https://www.youtube.com/watch?v=CR-a8upNjJ0&t=242s - this is the exact place where he talks about this. I'm just curious if it should be _index.scss or index.scss and why it should be the case. Thanks!
Kevin Powell
YouTube
Stop using @import with Sass | @use and @forward explained
Keep up to date with my Sass course: https://beyondcss.dev/?utm_campaign=OlderYouTubeVideos&utm_source=YouTube
The use of @import has been deprecated in Sass for quite a while now, but a lot of people still use it. In this video, I take a quick look at the replacements you should be using instead, @use and @forward. I just scratch the surface...
0 Replies