Skip to content

Mixin support #21

@cjmyles

Description

@cjmyles

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions