3

I'm not sure the correct way to include 'Neat' in an ember-cli application.

I installed Bourbon using the ember-cli-bourbon addon, and then just @import "bourbon" in my scss file.

Any suggestions?

Joel
  • 665
  • 2
  • 9
  • 23

1 Answers1

4

You should be able to install neat via bower:

bower install neat --save

Then in your scss file, after you import bourbon:

@import 'bourbon';
@import 'bower_components/neat/app/assets/stylesheets/neat';
Peter Brown
  • 50,956
  • 18
  • 113
  • 146
  • So I would just create a Brocfile in the root directory of the neat node module? Sorry if that's a dumb question - first experience with ember-cli. – Joel Dec 06 '14 at 14:15
  • @Joel sorry, my original answer is what I use with less, and was optional. You should be able to just link directly to it in your scss file. – Peter Brown Dec 06 '14 at 14:19
  • I'm actually using the ember-cli broccoli version of SASS. Link what part of the module directly? In the scss file, if I use @import 'neat' I get: file to import not found or unreadable: – Joel Dec 06 '14 at 15:10
  • Never mind, I didn't realize you updated the answer. It worked, thanks a lot! – Joel Dec 06 '14 at 15:15