How to Update the Theme
To keep your site up-to-date with the latest features and bug fixes, follow these steps to update the theme:
- Backup Your Project: Always create a backup of your current project before updating. This will ensure you can roll back if needed.
- Check for Updates: Visit the theme’s official dashboard to check for the latest release or update notes.
- Download the ZIP: From the dashboard, download the latest version of the theme as a ZIP file.
- Replace the Old Theme Files:
- Unzip the downloaded file.
- Important: Before replacing the files, do not replace the
public
folder, thecontent
folder, and theconfig
folder in thesrc
directory—basically, any files that you have updated or customized. These folders contain important configurations and content specific to your project.
- Install Dependencies:
- Run
npm install
oryarn install
to ensure all dependencies are up-to-date. please refer to the installation guide.
- Run
- Test the Update: After updating, check your website locally to ensure everything is working correctly. Look out for any breaking changes mentioned in the update notes.
- Push Changes to Your Live Site: Once you’re satisfied with the update, deploy your site again to your hosting platform (e.g., Vercel, Netlify). For deployment instructions, check the deployment guide.
Note: It’s essential to keep track of any major changes in the theme updates to avoid compatibility issues.