dilanx / craco

Create React App Configuration Override, an easy and comprehensible configuration layer for Create React App.
https://craco.js.org
Apache License 2.0
7.44k stars 499 forks source link

how to use tailwindcss: ^3.2.1 in @craco/craco: ^7.0.0-alpha.9 #460

Closed FrancisKaneY closed 2 years ago

FrancisKaneY commented 2 years ago

craco.config.js module.exports = { style: { postcss: { plugins: [require('tailwindcss'), require('autoprefixer')], }, }, } tailwindcss.config.js module.exports = { content: ['./src/**/*.{js,jsx,ts,tsx}'], theme: { extend: {}, }, plugins: [], } how to use tailwindcss in craco? It doesn't feel like it's working

86lanjie commented 1 year ago

Have you solved the problem? I have also encountered this problem

kaneruan commented 1 year ago

it doesn't working