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

Using stimulus & alpine

1
General
I’m using tailwindcss in a rails app and since they have prebuilt a lot with alpine it’s convinient to use alpine also. Alpine is good, but more for complex tasks I would like to use stimulus. I sa...

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

Select Or Create Field With Selectize.js Discussion

22
General
Awesome! Would love more episodes like this. :)
Rafal Siepak 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

I get error when deploy to heroku

1
General
I get error when deploy to heroku Here is the log file: -----> Building on the Heroku-20 stack -----> Determining which buildpack to use for this app ! Warning: Multiple default buildpa...
Alan Reid replied

Unable to deploy TailwindCSS on a Rails 7 app to Heroku. Can someone please help me?

0
General
I'm currently trying to deploy my rails 6 application to Heroku. I'm not sure where the error is coming from since the styles work well on development but break when pushing to production. ...
Medves Larisa Viviana posted

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

How to Add Pagination with Pagy Discussion

20
General
I couldn't have explained it better - even being the author of Pagy. Thank you!
Greg S replied

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

How Do I Use Selectize in Rails 6

3
Gems / Libraries
Hi there, I really love the selectize tutorial and would love to use it in a rails 6 application. What changes do I need to make to the tutorial. can i just change `//= require selectize` to ...
Rafal Siepak replied

How do I initialize google maps place autocomplete stimulus controller in a tailwindcss-stimulus-components modal?

5
Javascript
I'm using Jumpstart Pro, and I set up google maps place autocomplete using this lesson: Google Maps and Google Places Autocomplete API with Rails, Turbolinks, and Stimulus.js It works as expected ...
Chris Oliver replied
Solved

Tailwind Checked Radio Buttons = Change Background

1
CSS
I've been able to use Tailwind to change my radio buttons into normal buttons. changing the background on 'hover' works, same with 'active' (on click) but there's no setting for 'checked'. Has any...
Tim Dowling replied
Solved

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.