lookbook-hq / lookbook

A UI development environment for Ruby on Rails apps ✨
https://lookbook.build
MIT License
853 stars 90 forks source link

Sharing View Component Previews Across Multiple Projects Without Duplicating Files #594

Closed dlupu closed 2 months ago

dlupu commented 4 months ago

Hello,

We currently have an internal gem that facilitates the sharing of a collection of several dozen view components across multiple projects.

The final appearance of these components is project-specific, with each project featuring its own unique design system.

We're exploring potential solutions to share previews and scenarios for these components throughout all the projects. Our aim is to view them in the project's lookbook (essentially rendering them using the project's CSS) without the need to duplicate any files.

Any ideas or suggestions on how to best approach this situation ? Is this something you would consider supporting ?