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 trial

CSS Sass Basics (retired) Speeding up Workflow with Sass Working with Sass Libraries

Dwain Aiolupotea
Dwain Aiolupotea
10,350 Points

sass libraries bourben not working

Installed bourbon on my desktop. Opened up main.scss in sublime text 2 did this in the beginning of main.scss file @import "bourbon/_bourben.scss"; but nothing comes out in the main.css file. Blank. Why didn't it do anything? confused.

2 Answers

Simon Tucker
Simon Tucker
9,113 Points

Glad to hear it's working. You should really use Codekit it's absolutely brilliant, no need to use the terminal sass --watch.

Dwain Aiolupotea
Dwain Aiolupotea
10,350 Points

Hey, thanks for the advice, I'm on windows so can't use 'Codekit' but I'm now using 'Prepros' and it's great.

Simon Tucker
Simon Tucker
9,113 Points

Just type @import "bourbon/bourbon" at the start of your main.scss

that should work as long as your main.scss file is in the same directory as bourbon if not then "../bourbon/bourbon" if this is in another folder.

Dwain Aiolupotea
Dwain Aiolupotea
10,350 Points

oops... I figured out why it wasn't working. I forgot to put a command line 'sass --watch' in the console. And it worked like a charm thanks for the help too with the @import "..bourbon/bourbon". I just wished that the teacher would have mentioned the sass watch in the video. Could of saved me a lot of wasted time.