MDBreact Calendar


Topic: MDBreact Calendar

reyazmd 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 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

Open

Specification of the issue
  • User: 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