Topic: How to upgrade MDB React from 4.24.0 to 4.25.5
Wim Olivier
pro asked 12 months 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
Open
- User: Pro
- Premium support: No
- Technology: React
- MDB Version: 4.24.0
- Device: Apple
- Browser: Chrome
- OS: MacOS
- Provided sample code: No
- Provided link: No
Piotr Glejzer staff commented 12 months 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 pro commented 12 months 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 12 months 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 pro commented 12 months 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 12 months 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 pro commented 12 months ago
Thanks Piotr, I will try the download/ZIP way first.