Use Pug Mixins for Reusable Blocks of Markup

Jhey Tompkins
InstructorJhey Tompkins

Social Share Links

Tweet

If you're repeating blocks of markup or code in Pug, you can use a mixin to reduce the maintenance overhead. Here, we look at some of the ways you can use Pug mixins.