After routing my styles in tailwind doesn't work
Answered
American black bear posted this in #help-forum
American black bearOP
Question in a header
Answered by joulev
you need to configure tailwind for the pages directory as well, by making a
pages/_app.tsx and importing the globals.css file there https://nextjs.org/docs/pages/building-your-application/styling/tailwind-css#importing-styles-11 Reply
@American black bear Question in a header
you need to configure tailwind for the pages directory as well, by making a
pages/_app.tsx and importing the globals.css file there https://nextjs.org/docs/pages/building-your-application/styling/tailwind-css#importing-styles-1Answer