Next.js Discord

Discord Forum

Tailwindcss not working

Unanswered
Sphynx posted this in #help-forum
Open in Discord
SphynxOP
Hello! My tailwindcss is not working on nextjs, can someone help me? Im using the src directory

6 Replies

Tonkinese
Show your tailwind config or any errors
SphynxOP
I dont have any errors
/** @type {import('tailwindcss').Config} */
module.exports = {
  content: [
    "./app/**/*.{js,ts,jsx,tsx,mdx}",
    "./pages/**/*.{js,ts,jsx,tsx,mdx}",
    "./components/**/*.{js,ts,jsx,tsx,mdx}",
 
    // Or if using `src` directory:
    "./src/**/*.{js,ts,jsx,tsx,mdx}",
  ],
  theme: {
    extend: {},
  },
  plugins: [],
}
@Sphynx I dont have any errors
Northeast Congo Lion
Can you show your index file also the file tree
SphynxOP
Northeast Congo Lion
did you imported globals.css?