Topic: How to upgrade MDB React from 4.24.0 to 4.25.5
Wim Olivier free asked 4 years ago
Hi,
I'd just like to know how to update my MDB React version from 4.24.0 to 4.25.5, please. I used the ZIP download option/installation.
Thanks, Wim Olivier
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.24.0
- Device: Apple
- Browser: Chrome
- OS: MacOS
- Provided sample code: No
- Provided link: No
Piotr Glejzer staff commented 4 years ago
You have to download to the latest version from your profile or use the token from gitlab to update your existing project.
Wim Olivier free commented 4 years ago
Thanks Piotr,
Downloading is not the problem. Once I've downloaded the new version, how do I replace the old one? Only the .tgz file? Copy the 'src' directory away, replace MDB, and copy the 'src' directory back?
That is what I am not sure about.
Thanks, Wim
Piotr Glejzer staff commented 4 years ago
You can generate a token from our GitLab account and replace it with tgz file and it will update your project with the latest version.
Wim Olivier free commented 4 years ago
So to upgrade, I only have to replace the mdbreact-4.24.0.tgz file with mdbreact-4.25.5.tgz and update the name/version in my package.json file?
Piotr Glejzer staff commented 4 years ago
Yes, you can do that. You can check also section 'existing project' here https://mdbootstrap.com/docs/react/getting-started/quick-start/ .
Wim Olivier free commented 4 years ago
Thanks Piotr, I will try the download/ZIP way first.