bootstrap-rubygem
Stimulus
bootstrap-rubygem | Stimulus | |
---|---|---|
4 | 111 | |
2,005 | 12,466 | |
0.0% | 0.3% | |
6.2 | 6.4 | |
8 days ago | 5 days ago | |
SCSS | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
bootstrap-rubygem
-
Dusting off my rails knowledge, need some tips / guidance on rails 7 and production
source "https://rubygems.org" git_source(:github) { |repo| "https://github.com/#{repo}.git" } ruby "3.1.0" # Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main" gem "rails", "~> 7.0.4", ">= 7.0.4.2" # The original asset pipeline for Rails [https://github.com/rails/sprockets-rails] gem "sprockets-rails" # Use sqlite3 as the database for Active Record gem "sqlite3", "~> 1.4" # Use the Puma web server [https://github.com/puma/puma] gem "puma", "~> 5.0" # Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails] gem "importmap-rails" # Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev] gem "turbo-rails" # Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev] gem "stimulus-rails" # Build JSON APIs with ease [https://github.com/rails/jbuilder] gem "jbuilder" gem "mongoid" gem "mongoid-grid_fs" gem 'bootstrap', '~> 5.2.2' #sourced from https://github.com/twbs/bootstrap-rubygem gem 'rack-cors' # Windows does not include zoneinfo files, so bundle the tzinfo-data gem gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby ] # Reduces boot times through caching; required in config/boot.rb gem "bootsnap", require: false
-
Recommendations for backend engineer to learn frontend Rails
You might want to have a look at the Bootstrap 4 branch of the bootstrap gem for setup instructions, to see if your app already implements them as recommended: https://github.com/twbs/bootstrap-rubygem/tree/4.5-stable
-
Moving from BS4 to BS5 in Rails 6, having unexpected results
I was checking out the docs for the gem and I removed jquery and Popper from NPM and moved to jquery gem. Ensured gem is installed, and removed NPM Packages, however I am having issues with several elements working.
-
Turbolinks and Bootstrap dropdown - why the mess?
This course does not go over installing jquery and bootstrap, so followed this guide: twbs/bootstrap-rubygem: Bootstrap 4 rubygem for Rails / Sprockets / Hanami / etc (github.com)
Stimulus
-
Turbo Streaming Modals in Ruby on Rails
I also recommend checking out the docs for Stimulus and Turbo to familiarise yourself with all their features and the APIs used in this series.
-
Google: Angular and Wiz Are Merging
Any tips on preparing to work with Wiz as an incoming intern. I heard its identical to Stimulus: https://stimulus.hotwired.dev/
-
How to integrate Component Architecture into Symfony?
use Stimulus
- Stimulus: A modest JavaScript framework for the HTML you already have
-
Build Drag and Drop with Rails Hotwire
With Stimulus, you've got a powerful tool to take your app's interactivity up a notch. For even more awesome features and Stimulus wizardry, check out the Stimulus Documentation.
-
Supercharge your Stimulus controllers with Custom APIs
The next version of Stimulus makes it easier to access parts of the private API thanks to my pull request.
-
Why are you still using jQuery?
I like Stimulus, it was a bit pushed by Symfony with their ux thing.
-
Too Much JavaScript? Why the Frontend Needs to Build Better
I thought it'd be https://stimulus.hotwired.dev/ for a minute but I think that ecosystem is tied too closely with rails.
-
Learn Stimulus in Ruby on Rails by Building a Toggle)
Hey HN!
For those new to Rails, Stimulus (https://stimulus.hotwired.dev/) is a way to sprinkle frontend javascript code into your Rails views.
I held off using Stimulus in my Rails apps for a long time because I didn't understand it — the data= attributes looked weird, and the connection between my Rails views and Stimulus javascript controllers was confusing.
So I decided to write the guide I wish I had when I was learning Stimulus.
Hope you enjoy it! I'm happy to answer any questions, feel free to ask any.
Thanks, Harrison
-
Your first Stimulus controller — Learn Stimulus by building a toggle in your Rails app
Hey /r/rails, these past few weeks, I've been working on a beginner's guide to Stimulus and I'm excited to finally share it!
What are some alternatives?
turbolinks-classic - Classic version of Turbolinks. Now deprecated in favor of Turbolinks 5.
turbo-rails - Use Turbo in your Ruby on Rails app
Webpacker - Use Webpack to manage app-like JavaScript modules in Rails
htmx - </> htmx - high power tools for HTML
hotwire-rails - Use Hotwire in your Ruby on Rails app
django-unicorn - The magical reactive component framework for Django ✨
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
inertia - Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.
jquery-rails - A gem to automate using jQuery with Rails
react-rails - Integrate React.js with Rails views and controllers, the asset pipeline, or webpacker.
view_component - A framework for building reusable, testable & encapsulated view components in Ruby on Rails.
TinyMCE - The world's #1 JavaScript library for rich text editing. Available for React, Vue and Angular