Created
September 21, 2017 02:25
-
-
Save sangpt/7dac490bb71f93132abba0e0da4fbe49 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sassMiddleware = require('node-sass-middleware'); | |
// use sass | |
app.use(sassMiddleware({ | |
src: __dirname + '/src/scss', //where the sass files are | |
dest: __dirname + '/public/css', //where css should go | |
prefix: '/css', | |
debug: true // obvious | |
})); | |
link(rel='stylesheet', href='/css/style.css') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment