DEV Community

Discussion on: Use Tailwind CSS 1.1 in your Rails App

Collapse
 
abigoroth profile image
Ahmad Ya'kob Ubaidullah

@andew does your @apply feature working on this setup?

Collapse
 
alvincrespo profile image
Alvin Crespo

Doesn't work for me. Trying with this:

@tailwind base;
@tailwind components;

.field {
  @apply flex flex-col mb-4;
}

@tailwind utilities;

Collapse
 
andrewmcodes profile image
Andrew Mason

I created a new post that should work. Check it out here: dev.to/andrewmcodes/ruby-on-rails-...

Collapse
 
andrewmcodes profile image
Andrew Mason

It was working. Might be time to update this post. I used it today but did something slightly different bc of scss