Skip to content Skip to sidebar Skip to footer

Expressjs - Not Able To Load My Stylus Stylesheet To Jade Html Page

In my express app, i am trying to load the style properties from styles module engine. But i couldn't able to load my style at all. here is my folder structure: myNodeApp -node_

Solution 1:

Shouldn't the stylus middleware get the source from /styles to set the dest to /styles as well ? :

app.use(stylus.middleware({
    debug : true,
    src : __dirname + '/styles',
    dest : __dirname + '/styles'
}));

Post a Comment for "Expressjs - Not Able To Load My Stylus Stylesheet To Jade Html Page"