grunt-ristretto
Frontend development with Latte.
Getting Started (If you're not sure what you're doing)
See RistrettoExample
Getting Started (If you know what you're doing)
This plugin requires Grunt ~0.4.0
and Composer with PHP >= 5.3.0
.
npm install grunt-ristretto --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt;
The "ristretto" task
Overview
In your project's Gruntfile, add a section named ristretto
to the data object passed into grunt.initConfig()
.
grunt
Gruntfile.js
might look like this.
Your Dont forget to install theese dependencies grunt-contrib-less
and grunt-contrib-watch
in your npm package.json
.
npm install grunt-contrib-less grunt-contrib-watch --save-dev
module { grunt; grunt; grunt; grunt; grunt;};