Replies: 1 comment
-
create a lib folder at the same level as app in which you add a
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just finished setting up NextUI into my NextJS project. but now I can't use the NextUI Components on Serverside. I'm getting
"Error: createContext only works in Client Components. Add the "use client" directive at the top of the file to use it. Read more: https://nextjs.org/docs/messages/context-in-server-component" on every page, I can't just add "use client" to every page.
Beta Was this translation helpful? Give feedback.
All reactions