Less compiler for `atma-io`, `IncludeJS` and `atma-server`.
npm install atma-loader-lessLess Compiler (Atma Plugin)
-----

The Plugin extends:
- IncludeJS with a custom loader
- atma-io with a custom middleware to read Less files
- atma-server and Atma Toolkit with a HTTPHandler to serve compiled sources (with sourceMap support)
##### How to use
###### Embed into the Project
+ atma plugin install atma-loader-less
This adds atma-loader-less npm dependency and the package.json would look like:
``json
`
{
"dependency": {
"atma-loader-less"
},
"atma": {
"plugins": [
"atma-loader-less"
],
"settings": {
"less_loader": {
"extension": "less"
}
}
}
}
$ npm install atma -g
+ That's all. Now, you are ready to use 'dynamic stylesheets' in your project
##### Quick Try
+ install atma:
$ atma plugin install atma-loader-less
+ install plugin:
test.html
+ add to the directory
`
html
`
test.less
+ add
`
css
`
@color: green;
body { background: @color; }
$ atma server
+ start the server:
http://localhost:5777/test.html`
+ open the browser:
----
_(c) MIT License - Atma.js Project_