Sha256: aade00efcdcc2c4e2231dee8c2294c95eb00770a8d34f2272e9b242ec3852934
Contents?: true
Size: 1.6 KB
Versions: 1
Compression:
Stored size: 1.6 KB
Contents
# Shoelace::Rails::Ui Get started with [Shoelace]() today, the Rails way! ## What this gives you * Out of the box shoelace * `sl_my_component`-style ERB syntax for composing HTML with these components * `sl_form` helpers to write forms the Rails way, supercharged with Shoelace * authored originally by @yuki24 in [shoelace-rails](https://github.com/yuki24/shoelace-rails) * [Full documentation on these components, ERB-style](#) ## Quickstart 1. Add to gemfile and `bundle install` 1. in `config/importmap.rb` add `pin "shoelace", to: "https://cdn.jsdelivr.net/npm/@shoelace-style/shoelace@2.0.0-beta.64/dist/shoelace.js" `*️⃣ 1. in `application.js` add: `import "shoelace"`*️⃣ 1. in `application.css` add: `*= require sl_styles_light.css`*️⃣ 1. Start building your app! *️⃣: To be automated into an install command or included explicitly in engine ## Requirements * Rails 7.0 or greater with defaults (hotwire, importmaps, etc.) ## Not required * custom javascript * custom css * yarn * webpack * node ### Kevin Q's/Issues * Double render on helper? * Ideas for automating 3-5 in quickstart. Install or in gem? * Any other considerations when packaging up assets? ################## ## Usage How to use my plugin. ## Installation Add this line to your application's Gemfile: ```ruby gem "shoelace-rails-ui" ``` And then execute: ```bash $ bundle ``` Or install it yourself as: ```bash $ gem install shoelace-rails-ui ``` ## Contributing Contribution directions go here. ## License The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shoelace-rails-ui-0.1.1 | README.md |