Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJudith King
1,356 Pointsbetween this and the next video a new file appears called config.rb. where did this come from? It is not explained??
the file is under modules
2 Answers
Dustin Matlock
33,856 PointsHi Judith, you can find an explanation of that file in the Configuring Your Project video under the Compass Basics course.
Transcript Notes
So earlier when we created our Compass project, we saw that along with the Sass and stylesheet directories, this
config.rb
was also created inside our folder. Now, this is the Compass project configuration file. It's a Ruby file that tells Compass the directories and paths to where all our project assets are kept.
myackley35
34,574 PointsHi Judith!
I just finished this course and I noticed that also in the Project Files also. The config.rb
file is part of the Compass/Sass framework. I believe Guil included it briefly (with the @import
directive) in one of the videos in the application.scss
file but it wasn't covered. If you haven't checked out the Compass course yet it's pretty good. Now you have me curious as to how to implement Compass in SMACSS.... :)