Skip to content

Consume non electrode components

caoyangs edited this page Sep 26, 2016 · 6 revisions

Definition of Electrode components : Components using our archetype.

While the explorer works great with electrode components, you can modify the scripts to make it work with any other component.

Your component needs to have a demo file, which imports your components and displays them (example). All you will need to do is in scripts/post-install-module.sh, babel transpile your jsx files into js, and use webpack (or other bundle tools) to bundle your component with the demo file as the entry point.

Clone this wiki locally