require-jade
require-jade copied to clipboard
Mixin support
Hi, I'd like to be able to use mixins in my Jade code that are imported in from another directory. Is this already possible or is it not supported? For example in my main Jade code:
include mixins/track
.track
mixin trackView(data)
Then in my mixins/track.jade:
mixin trackView(data)
p= data.title