Hi guys, new to the forum. Just starting to use Middleman and have run into a problem with Foundation.
I wanted to use the Sass version of Foundation so I’ve set it as a bower dependency and installed it into source/bower_components
.
I’ve added the following into my config.rb file.
compass_config do |config|
config.http_path = "/"
project_path = File.expand_path(File.join(File.dirname(__FILE__), '..'))
config.add_import_path "bower_components/foundation-sites/scss"
config.output_style = :compact
config.css_dir = "stylesheets"
config.sass_dir = "stylesheets"
config.images_dir = "images"
config.javascripts_dir = "javascripts"
end
I’ve then used @import 'foundation'
in my main Scss file.
Nothing complains, but it seems Foundation isn’t actually being imported when building or serving my files. Other files are being imported fine if they’re in my stylesheets folder.
Does anyone have any idea on what I might be missing?
Thanks