Reputation: 11
I'm thinking of changing from SCSS syntax over to SASS.
The one thing I'm unclear on is how to import other files, as there seems to be a very large lack of guides for SASS as opposed to SCSS.
In scss I right the following for my main.scss
@include "folder/_file.scss";
So in sass, would that be
+'folder/_file.sass'
Or am I on the wrong track?
Upvotes: 0
Views: 44
Reputation: 68339
From the official Sass documentation:
@import
The @import directive in Sass does not require quotes, although they may be used. For example, this SCSS:
@import "themes/dark"; @import "font.sass";
would be this Sass:
@import themes/dark @import font.sass
Upvotes: 1