Ruby on Rails Community Forum
TailwindCSS Admin Theme
2
Gems / Libraries
Hello,
Does anyone have any recommendations for a clean TailwindCSS admin theme that I could easily integrate with Jumpstart pro?
- Chuck
chuckblake replied
How do I have a list view like tailwind?
1
CSS
Hello,
I created a real estate listings model, but on the index view the list isnt like in the example, it showing all the details of the listing creating like a big box of each listing instead o...
Emma Wilson replied
What is the best way to add a dynamic active class to a link with Tailwind CSS?
6
CSS
From what I understand the "active variant" is not enabled by default? Where exactly do you enable that with rails? Is there another way to add and remove parts of classes to put together an active...
Solved
Global Autocomplete Search Discussion
29
General
Awesome episode Chris! Thanks!
Thomas Keller replied
How to Remove Unused CSS Classes from Tailwind CSS, Boostrap, and more with PurgeCSS Discussion
12
General
How does this work with .haml templates instead of .erb?
Trevor Owens replied
Deploying Tailwind to AWS Elastic Beanstalk
4
General
I was wondering if anyone has experience of deploying A Rails 6 app with Tailwind to AWS Elasticbeanstalk.
I have tried a dozen times now however the build keeps failing.
I am getting the followi...
Chris, would you build Simple_Discussion differently today using Rails 7 and Hotwire?
2
General
I'm curious to hear how Chris would approach building simple_discussion if he had to start from scratch using Ruby 3.2, Rails 7 and Hotwire. Cheers! -Dan H
DanInBC replied
Solved
Rails view_components
16
Rails
Are there any plans on covering view_components? It would be great to see a few episodes on using view_components + tailwind / bootstrap + stimulus & stimulus reflex.
Maybe the twitter example...
William Cunningham replied
Installing Tailwind with Rails 7
10
Rails
I ran the config for Tailwind with CSSBundling Rails using ruby 3.0.3 and rails 7.0.0:
rails new hg -j esbuild --css tailwind --database=postgresql
Everything worked fantastic trying any of the htm...
Thomas Alford replied
New Design!
4
Site Feedback
Chris, I think you nailed it this time! Every time you roll out a new site design, it's better than the previous.
Great job!
Nick
Rails Tailwind Apply Directives not rendering
1
CSS
I dunno what I did wrong during this course of development, I think I have done something inside `config/` directory, but my Tailwind CSS Apply Directives classes are not being rendered/working in ...
Bishwas Bhandari replied
How to use CSS Variables with Ruby on Rails Discussion
2
General
I asked a question on discord and thought it might be good for it to be here for future reference.
https://discord.com/channels/874684608686477352/874684609164640358/958015390347329658
Question:
...
Drema Pulliam replied
How to install Tailwind CSS using Webpacker with Rails Discussion
28
General
Nice addition to GoRails episode list. Would love to see more TailwindCSS with Rails videos. Also thanks for plugging your laptop power in...I was starting to panic :D
Mostafa Ahangarha replied
TailwindCSS Stimulus Components Gem not working in new rails 7 application
2
Gems / Libraries
Attempting to use the following gem in a new rails application: https://github.com/excid3/tailwindcss-stimulus-components
Main reason is that the new supported tailwind gem that you can install di...
Bryan Beshore replied
How do I get Multiple Output files with cssbundling-rails and Tailwind.
1
Rails
It took me a couple of days to find this answer:
https://dev.to/nikz/multiple-output-files-with-cssbundling-rails-and-tailwind-3b4k
A Tutorial here might help.
Chris Oliver replied
How to get rid of a legacy app?
0
General
Hello,
i built my first rails app 6 years ago and there is a lot of things I want to get rid of. The app is still running and actually generating revenue! But it is basically not maintainable anym...
Fabian Hallstein posted
What is the best way to import node_modules CSS in a Rails 7 Esbuild project?
0
Rails
Rails 7.0
Ruby 3.0.3
Esbuild / Tailwind
Question: what is the best way to import the CSS from a node package. After running the yarn add command, the JS loads very easily but as you know adding `im...
Stéphane Paquet posted
Building AnimatedGif.me Part 1 Discussion
4
General
This is awesome Chris! Thanks so much! This will help me and my team better understand rails coding from start to finish!
brobles replied
Vue.js Slots with Tailwind CSS and Rails Discussion
0
General
Multiple Device support with Request Variants in Rails Discussion
5
General
Great video as always! How does this method compare with using responsive design with a CSS framework like Bootstrap or Tailwind? Is this a better method if you want a very specific or completely ...
Tabish Iqbal replied