Skip to content
Merged
Changes from all commits
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
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Flowbite Components provides a comprehensive library of UI components following
Add the gem to your application's Gemfile:

```ruby
gem 'flowbite-components'
gem "flowbite-components"
```

Then execute:
Expand All @@ -31,9 +31,9 @@ Then execute:
bundle install
```

### Configuration
### tailwindcss-rails

Make sure you have Tailwind CSS installed in your Rails application. We recommend using the [tailwindcss-rails](https://github.com/rails/tailwindcss-rails) gem:
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:

```ruby
gem "tailwindcss-rails", ">= 4.3.0"
Expand All @@ -44,7 +44,7 @@ gem "tailwindcss-rails", ">= 4.3.0"
Install Flowbite as an npm dependency:

```bash
npm install flowbite
yarn add flowbite
```

Add Flowbite to your Tailwind CSS configuration. In your `app/assets/tailwind/application.css`:
Expand Down