hotwire-example-template
A collection of branches that transmit HTML over the wire. (by thoughtbot)
hotwire-example-template | tailwindcss-rails | |
---|---|---|
4 | 23 | |
1,074 | 1,531 | |
0.1% | 0.1% | |
0.0 | 9.0 | |
8 months ago | 7 days ago | |
Ruby | Ruby | |
- | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
hotwire-example-template
Posts with mentions or reviews of hotwire-example-template.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-01-01.
-
Rails for Everything
other great resource - https://github.com/thoughtbot/hotwire-example-template
- Collection of Hotwire examples by thoughtbot
- Collection of Hotwire Examples by Thoughtbot
-
Pagination and infinite scrolling with Rails and the Hotwire stack
The autoclick controller we are using here was lightly adapted from Sean Doyle’s autoclick controller in his own implementation of infinite scrolling with Turbo.
tailwindcss-rails
Posts with mentions or reviews of tailwindcss-rails.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-01-03.
-
Setting Up Tailwind CSS in a New Rails 8 App
The tailwindcss-rails gem provides all the necessary tooling to integrate Tailwind into a Rails app. Add it to your Gemfile and run bundle install:
-
How to Develop an Air Quality Monitoring App with Ruby on Rails
Use tailwind css for the styling. A tailwind ruby gem is available at https://github.com/rails/tailwindcss-rails, you can check it out for more details.
-
How to Use Tailwind CSS for Your Ruby On Rails Project
If we change text-4xl to text-xl and reload the page, the new style will be automatically applied. Looking at the terminal where Foreman is running, you will see that Tailwind has generated a stylesheet in the background again. That's how simple it is to integrate Tailwind into a Ruby on Rails application (this relies on the tailwindcss-rails gem).
-
Is the default importmap method unrealistic in the most popular real world use cases?
You can't use additional CSS packages (like Flowbite) with the official tailwindcss-rails gem. According to this answered issue, you should either give up importmap and use a bundler, or use a CSS file from CDN - which is not ideal (unnecessary classes won't be purged this way).
-
How to bundle assets in a Rails engine
You first install your asset handlers as you need them for your project. They can be anything from rails/jsbundling-rails and rails/tailwindcss-rails to webpacker or something custom.
-
Setup TailwindCSS, postcss and esbuild on Rails 7
Preconfigured TailwindCSS from TailwindCSS-rails ready to use out of the box, pass --css tailwind as an option.✅
-
User notifications with Rails, Noticed, and Hotwire
Thanks to the magic of Rails, the scaffold generator gives us almost everything we need to start creating messages and associating them with users. Because we are using Tailwind via the tailwindcss-rails gem, the scaffold generator also includes some nice looking base styles too.
-
Pagination and infinite scrolling with Rails and the Hotwire stack
Because we are using Tailwind via the tailwindcss-rails gem, the scaffold generator applies some basic Tailwind styling to generated views, so we have nice looking Widget pages right out of the box.
-
Launching Multiple Processes with a Single Command in Rails
Here's a simple way to achieve this, inspired by the tailwindcss-rails gem.
-
How to Install Shoelace with Rails 7, esbuild, and Tailwind JIT
For more documentation on tailwind installation: https://github.com/rails/tailwindcss-rails
What are some alternatives?
When comparing hotwire-example-template and tailwindcss-rails you can also consider the following projects:
rails-hotreload - Auto reloads Rails applications when assets or views have changed
stimulus-use - A collection of composable behaviors for your Stimulus Controllers
cssbundling-rails - Bundle and process CSS in Rails with Tailwind, PostCSS, and Sass via Node.js.
data-dead-drop - Simple, quick data sharing. For humans and machines 🤖
Flutter-Roadmap - In this repository you will learn Flutter from scratch, so that after that you are almost a Flutter pro. The whole thing is completely free.