Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update readme
  • Loading branch information
bopm committed Jun 2, 2025
commit ba504f42a7a644569242c37dda823f596ba7b3b9
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,14 @@ If you have Rails Engines in your application that use Tailwind CSS, they will b

- The engine must have `tailwindcss-rails` as gem dependency.
- The engine must have a `app/assets/tailwind/<engine_name>/application.css` file or your application must have overridden file in the same location of your application root.
- The engine must register itself in Tailwindcss Rails:
```ruby
initializer 'your_engine.tailwindcss' do |app|
ActiveSupport.on_load(:tailwindcss_rails) do
config.tailwindcss_rails.engines << Your::Engine.engine_name
end
end
```

## Troubleshooting

Expand Down