Menu icon Foundation

Designer | Barcelona

My Posts

No Content

My Comments

Emilio García commented on Donny Oexman's post almost 6 years

I'm very new using foundation with sass, learning, and also in trouble importing "foundation" and/or it's components. I'm testing, and my app.scss is:

@import "settings";
@import "foundation";

body {
background-color: $body-bg;
color: $body-font-color;
font-size: $rem-base * 1.2;}

With the following error:
Sass::SyntaxError: File to import not found or unreadable: foundation.

If I //@import "foundation"; then it compiles correctly.
About importing components I've tested with this path: @import "foundation/components/grid"; with the same error, not found or unreadable.

So I guess my problem is related with estructure/path. How should I proceed? Need to manually copy any file from bower_components to scss folder or?

Posts Followed


Following

    No Content

Followers

My Posts

No Content

My Comments

You commented on Donny Oexman's post almost 6 years

I'm very new using foundation with sass, learning, and also in trouble importing "foundation" and/or it's components. I'm testing, and my app.scss is:

@import "settings";
@import "foundation";

body {
background-color: $body-bg;
color: $body-font-color;
font-size: $rem-base * 1.2;}

With the following error:
Sass::SyntaxError: File to import not found or unreadable: foundation.

If I //@import "foundation"; then it compiles correctly.
About importing components I've tested with this path: @import "foundation/components/grid"; with the same error, not found or unreadable.

So I guess my problem is related with estructure/path. How should I proceed? Need to manually copy any file from bower_components to scss folder or?

Posts Followed

Following

  • No Content

Followers

  • No Content