Upgrade Appkit in Existing Apps
When you create an Appkit webapp, it uses a specific version of Appkit. Appkit releases occur independently of App Studio releases.
You can upgrade web apps to use the latest version of Appkit.
How to upgrade
-
Stop the app.
-
In the
package.json
file at the root of your project, update theappkit-ui
dependency to the latest Appkit version, for example:"appkit-ui": "http://appkit.lucidworks.com/repo/4.2.0/appkit-ui.tar.gz",
-
In the
pom.xml
file at the root of your project, update the value of theparent.version
property to the latest Appkit version, for example:<parent> <groupId>twigkit</groupId> <artifactId>twigkit.app.js</artifactId> <version>4.2.0</version> </parent>
-
Upgrade the Appkit Social module, if required.
-
Perform any additional upgrade steps that are required for a specific Appkit upgrade. See the Appkit Release Notes for more information.
-
Start the app.