View Post

Pug Template Form Field Mixins

Node.js has become my go to for making small dynamic websites and micro-services. It’s also a good platform to practice DRY. A few months ago I posted about┬ápug social media mixins but this time I’m sharing another GIST containing forms mixins. What I’ve done is make it simple and much faster to create a form using the pug template engine. …