Closed OhadBaehr closed 2 years ago
// If you want to use other PostCSS plugins, see the following: // https://tailwindcss.com/docs/using-with-preprocessors module.exports = { plugins: { 'postcss-nested':{}, tailwindcss: {}, autoprefixer: {}, 'postcss-flexbugs-fixes': {}, 'postcss-preset-env': { autoprefixer: { flexbox: 'no-2009', }, stage: 3, features: { 'custom-properties': false, }, }, }, }
Tried this configuration, didn't do much... when I try to write nested classes In styled jsx I get an error
You need a special config because of Tailwind CSS https://tailwindcss.com/docs/using-with-preprocessors#nesting
Tried this configuration, didn't do much... when I try to write nested classes In styled jsx I get an error