node.jsexpressrailway.js

Node.js Railway with sass/stylus/less


i started using railway (a node.js mvc framework) and i want to use sass/less/stylus as a css render engin.
i couldn't find how to configure that in railway.
railway uses express.js so i guess i can install it via that.
i already installed stylus (and all the rest) via npm install stylus.
i also uses stylesheet_link_tag to link to my css files.
any advice will be appreciated.


Solution

  • use https://github.com/emberfeather/less.js-middleware. its give u what u need