punch
punch copied to clipboard
Ability to add self-contained widgets (css, js, template)
First off, this looks awesome!
I'm looking for a way to integrate widgets into Punch. With some pointers as to where to start, I might be able to pull-off a pull-request if there's interest.
What I mean with a widget (of component) is a self-contained block of information that can be embedded in a page, which as an asset contains all the information needed to render it. i.e.: template, css, javascript.. Each Widget has it's own json for configuration (e.g.: where to get the data from).
Is this something more people see a usage for?
I actually implementing componentjs on my personal site right now :) That said, I'm not 100% sure about it being a part of the core punch generator ...
@gebrits if you're interested :) https://github.com/constantx/constantx.github.io/tree/master/_src