Search Results for "tailwind"
Lessons
Forum Threads
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
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
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
How to install TailwindCSS 1.0 with Rails 6 Discussion
15
General
Hey Chirs!
Great video, only question I have about using tailwind with rails 6 is the theme config.
in the docs it says to place:
```
module.exports = {
theme: {
container: {
cente...
Alex Ventura replied
New website design!
17
General
It took me several weeks to redesign everything and it was a TON of work. The main chunk of work was moving from Bootstrap to TailwindCSS and that's quite a lot of effort because you have to rewrit...
Dhairya Majmudar replied
Using Webpacker and Rails on AWS Elastic Beanstalk
10
General
Can anyone point me in the direction of documentation/tutorial for using Webpacker with Rails on Elastic Beanstalk? I have been playing with Tailwind CSS (which is great btw), and I'm getting a ver...
Simon Cooper replied
Solved
Why aren't Tailwind UI components displaying properly?
0
Rails
Is anyone else recently having issues with Tailwind UI components not displaying properly? For example, let’s examine the first “Stacked” component: **tailwindui dot com/components/application...
Hideko Endo posted
Running into render build error related to Tailwind
9
Rails
Following along with the Build a Blog lesson and currently trying to deploy on render. I can't seem to pass the below error during build - has anyone else seen this before? Locally tailwind is wo...
Chris Oliver replied
Adding TailwindCSS to Rails Discussion
12
General
For those with the problem of "bin/dev: line 8: exec: foreman: not found"
- Install the foreman gem -> bundle add foreman.
- Add the "bundle" word to the beginning of this line of code (bundle...
MehdiElrafi replied
How to Deploy Rails to Render Discussion
14
General
Great video, thanks Collin!
Emmaotiki5 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
ViewComponents and Tailwind CSS JIT
1
CSS
I created a flash view component to display flash messages.
It does work, but the javascript trigger its display does not work as expected. Instead of displaying on the spot, it waits for like 5 s...
Stéphane Paquet replied
Solved
Tailwind - own components - yes or no?
4
CSS
i have started with tailwindcss yesterday the first time and must say - wow!
but something is confusing me from the beginning. in tutorials/videos etc. everybody talk about: do not write your own ...
Bruno Steinmann replied
Solved
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
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
Using tailwind css in my rails app, patterned after your blog tutorial. How do I get rid of all the whitespace on each side of the page, I want to use the whole screen?
1
CSS
So I have modified by tailwind.config.js file as such:
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: [
'./public/*.html',
'./app/helpers/**/*.rb',
...
Mike Cannon replied
Struggle with Rails 7, esbuild, and Tailwind CSS Asset Loading
3
Rails
Recently, I ran into an issue while setting up **esbuild** and **Tailwind CSS** in my Rails 7 app. Despite following all the recommended steps, my **stylesheets** and **JavaScript files** simply wo...
Florian Osterhus replied
Create (or not) a BaseComponent to work with TailwindCSS and ViewComponent?
2
Rails
Hi all,
this is my first post and I am working with Ruby and Ruby on Rails for about a month. I have years of experience as a web developer but my focus was more on the Frontend part, if you don't ...
Iterating using css grid
13
CSS
Hi Chris - I am using CSS grid for a three-column blog layout. Unfortunately, when I run the do bock it creates three instances of the same post. I guess this is to be expected.
Not sure how to ge...
Brian Gilbank replied
Solved
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