Curated list of episodes, bundled to help you on your learning path!
Videos of tech, infrastructure, hardware and software which non-instructional by nature.
Articles around software and tutorials.
Show your love and support while looking fancy.
Got a question or want to chat about a topic? Let's talk!
gem 'bootstrap', '~> 5.1.0'
//= require "bootstrap"
rails new my_app \
➜ ~ cat .railsrc
I hope you'll continue covering how to get into a webpacker-less setup! I can't wait. I'd love if you covered using Vite.js with Stimulus and Tailwind.
Great video as always David. Thanks for using Rails 6 instead of 7 too!
Thanks for your answer and the info...
i rather not use Gems for frontend because i feel like going back to the old times
many js libs require CSS and as painful as webpack is, we can pull JS and CSS with just one yarn command, it would be interesting to see what the solution would be for rails 7
If I use a js library that also has css, how this will work, or If I use some css theme with some js library?
My preferred way is to use jsbundling-rails (esbuild) and cssbundling-rails (bootstrap). This gives it more of a hybrid feel between the old Rails 4 way and webpacker, but without all of the overhead of webpacker.
use Importmaps to load any js library, and esbuild to load css libraries?
It looks a mess for me. Everyting tangle and connected and impossible to remove.
- importmaps => no idea of css
- and another library to replace sprockets in 10 years.
In fact, I just keep the flags in my .railsrc file