Closed FrancisKaneY closed 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
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: [], }
Have you solved the problem? I have also encountered this problem
it doesn't working
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