punch icon indicating copy to clipboard operation
punch copied to clipboard

Ability to add self-contained widgets (css, js, template)

Open 0xgeert opened this issue 11 years ago • 2 comments

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?

0xgeert avatar Jan 20 '14 17:01 0xgeert

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 ...

constantx avatar Jan 21 '14 06:01 constantx

@gebrits if you're interested :) https://github.com/constantx/constantx.github.io/tree/master/_src

constantx avatar Jan 21 '14 06:01 constantx