Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nextjs support: The server side rendering of components is making it unstyled. #453

Open
adarsh-drishya opened this issue Sep 21, 2023 · 3 comments

Comments

@adarsh-drishya
Copy link

the classes itself are not getting rendered

@jeanbenoit-richez
Copy link

Hi,
I got the exact same problem.
Did you succeed the make it works ?

@jeanbenoit-richez
Copy link

The solution si to put:

use 'client';

At the begining of every of your components file at building.
You can succeed this with rollup-banner plugins

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants