install
npm install cube-stylus
write a processor
{ thiscube = cube;} Processorinfo = type: 'style' // can be: style|script|template ext: '.less' // file ext, let cube know which file request should router to this processor /** * process code * @param * @param * @param * res {source, code, wraped} */Processorprototype { // your code here} moduleexports = Processor;