-
When using view_component-contrib with Lookbook All components preview source points to the default <div class="<%= container_class %>">
<%- if component -%>
<%= render component %>
<%- else -%>
Failed to infer a component from the preview: <%= error %>
<%- end -%>
</div> Rendering source preview useless and making it hard to document usage of specific components Is there any documentation no how to improve the usage, source or even notes when using view_component-contrib directly with lookbook? |
Beta Was this translation helpful? Give feedback.
Answered by
palkan
Aug 16, 2022
Replies: 1 comment 4 replies
-
That's a good question. We're working on something Lookbook-related right now 🙂 @baygeldin Do you remember whether we had a solution to this problem? |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
danielnc
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
That's a good question. We're working on something Lookbook-related right now 🙂
@baygeldin Do you remember whether we had a solution to this problem?