Seems its not working in a nextjs project
Closed this issue · 2 comments
pitops commented
Hi, I followed the instruction, added it to the plugin list but it's not showing anything. Is there anything special to do in react/next projects?
GavinJoyce commented
@pitops did you manage to get it working?
pitops commented
Yeah so i use an nx monorepo
with NextJS
and i need to add this into postcss.config.js
module.exports = {
plugins: {
tailwindcss: { config: './apps/eshop/tailwind.config.js' },
autoprefixer: {},
},
};
Basically the path in NX is from the root of the project and it was not being picked up automatically.