How to install Flowbite on a fresh Laravel Project
CSSHere are the steps required to install Flowbite on a new Laravel project (extracted from here):
npm install -D tailwindcss postcss autoprefixer flowbite
Update `tailwind.config.js`:
module.exports = {
content: [
"./resources/**/*.blade.php",
"./resources/**/*.js",
"./resources/**/*.vue",
"./node_modules/flowbite/**/*.js"
],
theme: {
extend: {},
},
plugins: [
require('flowbite/plugin')
],
}Update `app.js`:
import 'flowbite';