Hello,
I'm trying to install Tailwindcss plugin but I'm getting an error of "require is not defined".
Here is my Tailwindcss config file
/** @type {import('tailwindcss').Config} */ export default { content: ['./resources/views/**/*.edge', './node_modules/flowbite/**/*.js'], theme: { extend: { colors: { primary: '#030075', buttons: '#5453F9', secondary: '#50E2D5', }, }, }, plugins: [require('@tailwindcss/forms'), require('flowbite/plugin')], }
Copied!
Join The Discussion! (1 Replies)
Please sign in or sign up for free to join in on the dicussion.
thansil
replace the required with import
Please sign in or sign up for free to reply