Topic: How to implement MDB React Pro in Next JS?
Two Aow priority asked 1 year ago
Expected behavior Implement MDB React Pro in a NextJs App. I used these instructions. https://mdbootstrap.com/docs/b5/react/pro/installation/ Actual behavior No errors, but none of the MDB components or styles work. How do I implement MDB React Pro in Next JS? Here is the only warning, but could be the root of the problem>
next-dev.js?3515:20 Warning: Invalid DOM property `class`. Did you mean `className`? at h3 at div at eval (webpack-internal:///./node_modules/mdb-react-ui-kit/dist/mdb-react-ui-kit.esm.js:136:1154) at div at eval (webpack-internal:///./node_modules/mdb-react-ui-kit/dist/mdb-react-ui-kit.esm.js:136:16434) at div at eval (webpack-internal:///./node_modules/mdb-react-ui-kit/dist/mdb-react-ui-kit.esm.js:136:710) at main at Home at MyApp (webpack-internal:///./pages/_app.js:11:27) at ErrorBoundary (webpack-internal:///./node_modules/next/dist/compiled/@next/react-dev-overlay/dist/client.js:8:20742) at ReactDevOverlay (webpack-internal:///./node_modules/next/dist/compiled/@next/react-dev-overlay/dist/client.js:8:23635) at Container (webpack-internal:///./node_modules/next/dist/client/index.js:70:9) at AppContainer (webpack-internal:///./node_modules/next/dist/client/index.js:215:26) at Root (webpack-internal:///./node_modules/next/dist/client/index.js:406:27)
Resources (screenshots, code snippets etc.)
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Priority
- Premium support: Yes
- Technology: MDB React
- MDB Version: MDB5 4.2.0
- Device: Macbook Pro
- Browser: Chrome
- OS: Monterey
- Provided sample code: No
- Provided link: Yes