palkan / view_component-contrib

A collection of extension and developer tools for ViewComponent
MIT License
369 stars 22 forks source link

Documentation is lacking details on how to preview components #1

Closed coderberry closed 3 years ago

coderberry commented 3 years ago

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 generated

What 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)!

coderberry commented 3 years ago

Oops. My bad. The previews can be found at http://localhost:5000/rails/view_components