Compile mixin to JS in JADE
问题 When trying to compile this JADE mixin (from their official docs) mixin pets(pets) ul.pets - each pet in pets li= pet into JavaScript using jade --client --no-debug pets.jade I get this output, which, as far as I can tell, doesn't actually do anything: function template(locals) { var buf = []; var jade_mixins = {}; var jade_interp; ;return buf.join(""); } Is this a bug in the JADE compiler or am I doing something wrong? I was expecting it to compile it into something like function pets(pets)