The project is in a healthy, maintained state
Hotwire + ViewComponent
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
 Project Readme

HotwiredComponent

HotwiredComponent adds Hotwired centered generators for Github's ViewComponent utilizing the side car metod. Components generated using this gem will by convention also generate an scss file and Stimulus controller. Components are class namespaced by their name, and by default every component has a stimulus controller.

Usage

rails g hotwire_component:component My::Widget

Installation

Add this line to your application's Gemfile:

gem 'hotwired_component'

And then execute:

$ bundle

And run:

$ rails g hotwired_component:install

License

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