Papercraft, a Ruby HTML templating library, now integrates with Hanami through the new hanami-papercraft gem. The integration allows developers to replace ERB templates with Papercraft's Ruby-based templates. Setup involves adding the gem, changing the view superclass to Hanami::PapercraftView, and creating layout and view

3m read timeFrom noteflakes.com
Post cover image
Table of contents
1. Add hanami-papercraftPassing Template Parameters

Sort: