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 14 css problem #84

Open
kodmanyagha opened this issue Jul 21, 2024 · 3 comments
Open

Nextjs 14 css problem #84

kodmanyagha opened this issue Jul 21, 2024 · 3 comments

Comments

@kodmanyagha
Copy link

I upgraded to nextjs14 and I faced some strange problems. Let me show you the screenshots:

image

Do you have any suggestion? Thanks.

@kodmanyagha
Copy link
Author

I solved the problem. In app/layout.tsx file remove the <link id="theme-css".... /> tag, put that line to top of the file: import "primereact/resources/themes/lara-light-cyan/theme.css";

@kodmanyagha
Copy link
Author

But with this method I can't change theme from the right side config panel.

@kodmanyagha kodmanyagha reopened this Aug 4, 2024
@fdruzhinin
Copy link

Keep link as is but add import to the beginning of the file

image

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

No branches or pull requests

3 participants