Back to topic list

Sass

Enduro comes with sass. All .scss files that are located directly in assets/css , not in subfolders gets compiled. The compiled .css files end up in _generated/assets/css so they can be imported like this:

<link rel="stylesheet" href="/assets/css/main.css">

Globbing

To import whole directory, just do: @import 'mixins/*';

Thanks to https://github.com/mathisonian/gulp-sass-bulk-import for this

Autoprefixer

Autoprefixer is present with these settings

{
    browsers: ['last 2 versions'],
    cascade: false,
}
Back to topic list

Shout out to pexels and freepik