March 15, 2018We’re so used to either a backend language or a JavaScript framework powering our data-backed components. I love me a Rails partial with a bunch of locals: {} or a <Component ...props /> but you don’t have to give up on components even if working in static HTML. With Nunjucks, which has includes and t...
March 15, 2018We’re so used to either a backend language or a JavaScript framework powering our data-backed components. I love me a Rails partial with a bunch of locals: {} or a <Component ...props /> but you don’t have to give up on components even if working in static HTML. With Nunjucks, which has includes and t...
July 11, 2017Dave Rupert:When cruising through the Includes documentation I noticed a relatively new feature where you can pass data into a component.I was similarly excited learning about Macros in Nunjucks. Then:After a couple days of writing includes like this I thought to myself “Why am I not just writing Web Compo...
May 3, 2017Nunjucks calls itself “A rich and powerful templating language for JavaScript”, which sounds about right. It’s not intentionally super lightweight like Mustache or the slightly more robust (but still pretty light) Handlebars. It’s a full-on language, packed with all kinds of stuff you might want...
June 14, 2016The following is a guest post by Morgan Feeney. Morgan and his colleagues went through a journey of trying to find the right code prototyping tools, and found that a Nunjucks based system worked well. I think it’s a compelling choice! I’ll let Morgan make that clear.Recently I was involved with the creati...
Recent Comments