Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/johannesfischer/sourcejs-sass


https://github.com/johannesfischer/sourcejs-sass

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

SASS support for SourceJS Specs
===============

[SourceJS](http://sourcejs.com) middleware to support SASS files linked in spec files

Works with SourceJS v.0.5.6+.

## Install

To install, run npm in `sourcejs/user` folder:

```bash
npm i sourcejs-sass -S
```

Then restart your SourceJS application, middleware will be loaded automatically.

## Usage

After installing middleware, linked `.scss` files will be parsed and replaced with style tag containing rendered CSS

```html

...

My Sepcs
```

Will be replaced with:

```html

... my parsed CSS

...

My Sepcs
```