Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johannesfischer/sourcejs-sass
https://github.com/johannesfischer/sourcejs-sass
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/johannesfischer/sourcejs-sass
- Owner: JohannesFischer
- License: mit
- Created: 2017-03-09T07:31:19.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-15T06:06:17.000Z (almost 8 years ago)
- Last Synced: 2023-12-24T20:16:29.605Z (about 1 year ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```