-
I tried PandaCSS and just copy-pasted the Atomic Slot Recipe code from the docs into a Next.js project. However, it doesn't seem to be working: Config: Code: Am I missing something or doing something wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
in layout.tsx you or you can use the CLI only (run |
Beta Was this translation helpful? Give feedback.
in layout.tsx you
import "./globals.css";
but that file only contains the@layers
ordersince you didnt use the postcss plugin, the CSS is never injected
you can do so like this https://panda-css.com/docs/installation/postcss#add-panda-to-your-postcss-config
or you can use the CLI only (run
panda
command) and replace theimport "./globals.css";
toimport "../../styled-system/styles.css";