koa2-sass
v1.2.0
Published
koa2 middleware for sass
Downloads
1
Readme
Koa2 middleware of sass.
Install
$ npm install --save koa2-sass
Usage
const Koa = require('koa')
const app = new Koa()
const sass = require('koa2-sass')
app.use(sass({
path: /* sass file path */
// outPath: null
// debug: false
}, {
/* Config Options */
}))
Examples
$ git clone https://github.com/cjg125/koa2-sass.git demo
$ cd demo
$ npm install
$ node --harmony example/
# http://127.0.0.1:3000/