Skip to content

Instantly share code, notes, and snippets.

@geekysrm
Created February 6, 2020 11:20
Show Gist options
  • Save geekysrm/7f618c211dabc643bd2c33e95f555604 to your computer and use it in GitHub Desktop.
Save geekysrm/7f618c211dabc643bd2c33e95f555604 to your computer and use it in GitHub Desktop.
Create a file postcss.config.js in the root of your project with the following content:
module.exports = {
plugins: [
require("postcss-import")({
plugins: [require("stylelint")],
}),
require("tailwindcss")("./tailwind.config.js"),
require("postcss-preset-env")({
autoprefixer: { grid: true },
features: {
"nesting-rules": true,
},
browsers: ["> 1%", "last 2 versions", "Firefox ESR"],
}),
],
}
@Programmerahmad30
Copy link

where add file [postcss.config.js]

@ShiibaDev
Copy link

ShiibaDev commented Feb 16, 2023

Hi, how should be with tailwindcss?

I am new on this

nvm, sorry to bother you sir.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment