Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: MDBreact Calendar

reyazmd free asked 4 years ago


I am trying to integrate MDBreact calendar in my next.js project, I brought the pro version, while importing it import MDBFullCalendar from 'mdb-react-calendar'; I am facing error below: Error: Invariant failed: You should not use Link outside a Router It will be really appreciated if you could help me on this.


Piotr Glejzer staff commented 4 years ago

are you using routing from nextjs?


reyazmd free commented 4 years ago

No, I am not using any routing in my app, I have created components inside pages folder and accessing it in browser directly.


Piotr Glejzer staff commented 4 years ago

So can you try to install react-router-dom? We are using this in our component.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: 4.27.0
  • Device: laptop
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No