Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
A mixin is like a function in JS. data in this example is the first parameter of the function. Esgo can be called whatever you like. But *&attribute expects an object like in JS to make block attributes out of it.
https://pugjs.org/language/attributes.html#attributes
https://pugjs.org/language/mixins.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question