Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adamkdean/koa-scss
Koa middleware for SCSS.
https://github.com/adamkdean/koa-scss
Last synced: 26 days ago
JSON representation
Koa middleware for SCSS.
- Host: GitHub
- URL: https://github.com/adamkdean/koa-scss
- Owner: adamkdean
- Created: 2015-05-02T22:08:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-15T01:53:02.000Z (about 9 years ago)
- Last Synced: 2024-11-14T16:05:15.977Z (29 days ago)
- Language: JavaScript
- Size: 125 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-koa - koa-scss - SCSS中间件。 ![](https://img.shields.io/github/stars/adamkdean/koa-scss.svg?style=social&label=Star) ![](https://img.shields.io/npm/dm/koa-scss.svg?style=flat-square) (仓库 / 中间件)
README
# koa-scss
Koa middleware for SCSS.
## Installation
```js
$ npm install koa-scss
```## Options
See [the node-sass-middleware document](https://github.com/sass/node-sass-middleware).
## Example
```js
var scss = require('koa-scss'),
serve = require('koa-static'),
koa = require('koa'),
app = koa();app.use(scss({
src: __dirname + '/public/scss/',
dest: __dirname + '/public/css/'
}));app.use(serve('./public'));
app.listen(8000);
```## License
MIT