I have a NextJS project setup -> https://github.com/stefanre1/nextjs-setup
I am wondering what's the right way to remove unwanted css from Tailwindcss and add critical css to each page.
I have tried following some blogs to achieve the same but was not successful.
Obviously I have deleted what I have tried as it was not working. For now kept the bare minimum code in the repository.
Any help or suggestions would be helpful.
I have tried solution from here to add to head, but it adds all CSS as expected. I have tried this one as well