adrianhajdin / project_nextjs13_flexibble

https://jsmastery.pro
649 stars 139 forks source link

@apply not working #8

Open AhmedAlsudairy opened 1 year ago

AhmedAlsudairy commented 1 year ago

here it is snippet from globals.css

`@tailwind base; @tailwind components; @tailwind utilities;

body { font-family: Inter; }

.flexCenter { @apply flex justify-center items-center; }

.flexBetween { @apply flex justify-between items-center; }`

i imported the file into layout import './globals.css'

i do the config correctly but nothing work from pesudo classs for example

mdamapong commented 1 year ago

@AhmedAlsudairy Hello, somehow I got it to work. I think I might have copy and paste with extra stuff but I'm not really sure how I fix it. Hope you figure it out.