Course lesson
Use Pug Mixins for Reusable Blocks of Markup
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.
- Duration
- 3 min
- Access
- Free
- Transcript
- Needs source
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.