SASS boilerplate based on KNACSS template, using Gulp, Saas & Yarn. Minimalist on purpose, for a better modularity.
- Work directory :
sass/ - Build directory :
css/
Visit https://gulpjs.com/
Visit sass-lang.com/install to install Sass.
Visit yarnpkg.com/docs/install to install Yarn dependency manager.
yarn installSass compilation + autoprefixer + minify
gulp buildBrowser Sync & Build on save (default task)
gulpThe SASS files are located in /sass.
config/: Default configuration fileslibrary/: Default KNACSS librairiesvendor/: Default third party "plugins"components/: Default KNACSS components
Custom SASS folder :
template/: User's variables & custom stylesheets
Even if KNACSS is super light and easy-to-use, you'll need to go trough the (short — but in French) documentation.
Then, you can either use the ready-to-use knacss.css file or work with the sass files.