This project showcases an aspect (bit extension) that presents all the images in a component.
It does 3 things:
- Add a tab in the component page with an iframe to the preview. (
component-images.ui.runtime.tsx) - Render the images preview inside the iframe (
component-images.preview.runtime.ts) - Bundles the images as their own preview target. (
component-images.main.runtime.ts). this also bundles the preview template (component-images-app.tsx)
bit installbit compile- make sure there are no errors using
bit status bit start(add--devwhen editing the custom extension)
