Skip to content

Commit d8fcd0e

Browse files
committed
Clarify that tailwindcss-rails is not optional
We need it for the experimental engines support (https://github.com/rails/tailwindcss-rails?tab=readme-ov-file#rails-engines-support-experimental).
1 parent d6bdae0 commit d8fcd0e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ Then execute:
3131
bundle install
3232
```
3333

34-
### Configuration
34+
### tailwindcss-rails
3535

36-
Make sure you have Tailwind CSS installed in your Rails application. We recommend using the [tailwindcss-rails](https://github.com/rails/tailwindcss-rails) gem:
36+
Tailwind needs to be able to look through your code in order to generate the final CSS file with the class names you actually use. To allow Tailwind to find CSS class names inside flowbite-components you need to use [tailwindcss-rails](https://github.com/rails/tailwindcss-rails) gem:
3737

3838
```ruby
3939
gem "tailwindcss-rails", ">= 4.3.0"

0 commit comments

Comments
 (0)