Requirements
- PHP 5.6 CLI installed
- Download Ngn components
mkdir ngn-envcd ngn-envgit clone https://github.com/majexa/ngn.gitgit clone https://github.com/majexa/ngn-cs.gitgit clone https://github.com/majexa/run.gitgit clone https://github.com/mootools/mootools-coregit clone https://github.com/mootools/mootools-more
Usage
Next example
- Parses
<script>
tags in index.html - Builds NgnJs classes tree and collect relevant CSS files
- Places it
build/m/css
folder
Contents of index.html
var gulp = ;var ngnCss = ; gulp;