GavinJoyce/tailwindcss-question-mark

Seems its not working in a nextjs project

Closed this issue · 2 comments

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?

@pitops did you manage to get it working?

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.