Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 670 Bytes

README.md

File metadata and controls

41 lines (28 loc) · 670 Bytes

HotViewComponent

A ruby gem to tightly integrate View Components with Hotwire and Rails

Installation

Add this line to your application's Gemfile:

gem "hot_view_component"

And then execute:

$ bundle

Or install it yourself as:

$ gem install hot_view_component

Usage

To setup the integration, execute:

bin/rails hot_view_component:install

Then generate your first hot component:

bin/rails generate hot_component ExampleComponent

Contributing

Contribution directions go here.

License

The gem is available as open source under the terms of the MIT License.