-
Notifications
You must be signed in to change notification settings - Fork 264
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
window is not defined with NextJS #28
Comments
Hi there, MDB React is only about to turn SSR-compatible. Until then please make sure to include the necessitated code in |
@JStrebeyko Actually, I use reactstrap combined with mdb styles, but this is not a full solution. Thanks. |
Make sure you don't miss out! |
It outputs the same error using Electrode.io from Walmart Labs |
I assume that this issue can be closed. We will inform you if we will make some changes in ssr direction. Best, Jakub |
I'm trying to use mdbreact in a existig project with NextJs. This is the code:
And this is the error that is showing:
I've installed from 2 wayes:
I will have made a mistake? Nobody uses yet mdbreact with NextJs?
I think something happends in server side rendering. I'm not sure.
Thanks
The text was updated successfully, but these errors were encountered: