SlimSelectRails
This gem packages up the excellent Slim Select for easy use within Rails.
Installation
Add slim_select_rails
to your Gemfile and run bundle install
as normal.
If you’re using import maps, run ./bin/rails slim_select_rails:install
.
If you're not using import maps, you’ll need to add the appropriate references to the JavaScript and CSS in this gem.
Usage
If you’ve installed with import maps, you can import into your Stimulus controllers with import SlimSelect from slim-select
.
Bug reports and pull requests are welcome on GitHub at https://github.com/tsvallender/slim_select_rails.
License
The gem is available as open source under the terms of the MIT License.