Install Tailwind CSS In NextJS
Go through this :
npm install -D tailwindcss postcss autoprefixer && npx tailwindcss init -p
Update [TODO: Code shorthand span ] with :
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
],
Setup [TODO: Code shorthand span ] with just this :
css
@}
}
}
}
}
} @ @ @
restart :
netlify dev