Name Last Update
assets Loading commit data...
js Loading commit data...
scss Loading commit data...
svg Loading commit data...
.bowerrc Loading commit data...
.gitignore Loading commit data...
Gruntfile.js Loading commit data...
README.md Loading commit data...
bower.json Loading commit data...
humans.txt Loading commit data...
index.html Loading commit data...
index.php Loading commit data...
package.json Loading commit data...
robots.txt Loading commit data...

Example project to showcase some front-end optimizations.

Project based on the foundation framework/boilerplate.

Requirements

You'll need to have the following items installed before continuing.

  • Node.js: Use the installer provided on the NodeJS website.
  • Grunt: Run [sudo] npm install -g grunt-cli
  • Bower: Run [sudo] npm install -g bower

Quickstart

git clone git@git.qandisa.be:climacon/css_optim.git
cd css_optim
npm install && bower install

While you're working on your project, run:

grunt build

  • Builds/combines/optimizes all assets. grunt critical
  • Builds/combines/optimizes all assets, compiles the index.php file into HTML and inlines the critical CSS. grunt
  • Runs the build task + watches your files for changes (SASS, images, JS...).

And you're set!

Directory Structure

  • scss/_settings.scss: Foundation configuration settings go in here
  • scss/_custom.scss: Application styles go here