tailwindcss not connected
Unanswered
Levriero Sardo posted this in #help-forum
Levriero SardoOP
i alredy following the step, but the tailwind not linked, this problem when i update the tailwind package
4 Replies
Are you importing tailwind css in the globals.css file?
Can you show your relevant files?
Can you show your relevant files?
Levriero SardoOP
globals.css
@import "tailwindcss";
layout.tsx:
import "@globals";
@import "tailwindcss";
layout.tsx:
import "@globals";
postcss.config.mjs:
const config = {
plugins: {
"@tailwindcss/postcss": {},
},
};
export default config;
I think the problem is the way you’re importing the styles:
Try
Or adjust the path to your case, if you put it inside /src/styles/ folder
import “@globals”;
Try
import “./globals.css”;
Or adjust the path to your case, if you put it inside /src/styles/ folder
import "@/styles/globals.css";