Adam Thompson
Adam Thompson

Reputation: 3506

Foundation Not Including on Sass Grunt Compile

I am trying to include foundation from bower in my recent Wordpress project.

I am under underscores.js for a theme.

In the bottom of my styles.scss:

@import "../../../../../src/foundation-sites/assets/foundation.scss";

Then in my /src/foundation-sites/assets/foundation.scss:

@import ‘../scss/foundation';

@include foundation-everything;

where ../scss/foundation' is where myfoundation.scss` file is.

Yet still no CSS is included in the resulting compile.. only the header.

I've tried re-installing from bower, and the only changes I make are to assets/foundation.scss.

Even then, it seems weird to have to make changes to something in the bower install directory, but assets/foundation.scss is pointing to the wrong file.

What am I missing?

Upvotes: 0

Views: 106

Answers (1)

Adam Thompson
Adam Thompson

Reputation: 3506

I managed to get this working by importing the foundation.scss file from the scss folder and using @include foundation-everything in my style.scss.

Upvotes: 0

Related Questions