adds example component and set a minimal index.js