Closed coderberry closed 3 years ago
Installed view_component-contrib and build an example component
There should be a way for me to preview the component using the preview.rb generated
preview.rb
I cannot find a way to preview the components.
I'd love to learn how to use this extension library, but it's lacking some documentation.
Ruby Version: 3.0.1
Framework Version (Rails, whatever): 6.1.3.2
View Component Contrib Version: 0.1.0
PS: Thanks for creating this gem (and all the others you built/maintain)!
Oops. My bad. The previews can be found at http://localhost:5000/rails/view_components
What did you do?
Installed view_component-contrib and build an example component
What did you expect to happen?
There should be a way for me to preview the component using the
preview.rb
generatedWhat actually happened?
I cannot find a way to preview the components.
Additional context
I'd love to learn how to use this extension library, but it's lacking some documentation.
Environment
Ruby Version: 3.0.1
Framework Version (Rails, whatever): 6.1.3.2
View Component Contrib Version: 0.1.0
PS: Thanks for creating this gem (and all the others you built/maintain)!