Skip to content

Commit

Permalink
(docs) introduction: fix tailwind config step (#1142)
Browse files Browse the repository at this point in the history
(docs) introduction: fix tailwind config step due to performance optimisation

Co-authored-by: Sebastian Sutu <[email protected]>
  • Loading branch information
SutuSebastian and Sebastian Sutu authored Nov 21, 2023
1 parent ce72ce7 commit 511b5f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/docs/getting-started/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Add Tailwind CSS to a CSS file:
1. Install Flowbite and Flowbite React:

```bash
npm i flowbite-react # or yarn add flowbite flowbite-react
npm i flowbite flowbite-react # or yarn add flowbite flowbite-react
```

2. Add the Flowbite plugin to `tailwind.config.js`, and include content from `flowbite-react`:
Expand All @@ -56,7 +56,7 @@ npm i flowbite-react # or yarn add flowbite flowbite-react
module.exports = {
content: [
...,
'node_modules/flowbite-react/**/*.{js,jsx,ts,tsx}'
'node_modules/flowbite-react/lib/esm/**/*.js',
],
plugins: [..., require('flowbite/plugin')],
...
Expand Down

1 comment on commit 511b5f1

@vercel
Copy link

@vercel vercel bot commented on 511b5f1 Nov 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.