DeveloperBreeze

Html Markup Development Tutorials, Guides & Insights

Unlock 1+ expert-curated html markup tutorials, real-world code snippets, and modern dev strategies. From fundamentals to advanced topics, boost your html markup skills on DeveloperBreeze.

Integrating Flowbite with Tailwind CSS: A Step-by-Step Tutorial

Article October 24, 2024

   // tailwind.config.js

   module.exports = {
     content: [
       "./src/**/*.{html,js}", // Adjust the paths according to your project structure
       "./node_modules/flowbite/**/*.js", // Include Flowbite's components
     ],
     theme: {
       extend: {},
     },
     plugins: [
       require('flowbite/plugin') // Include Flowbite's plugin
     ],
   };

> Note: Including ./node_modules/flowbite/<em>*/</em>.js ensures that Tailwind scans Flowbite's components for class names.