Update Pluggable Widgets Tools

Last modified: October 7, 2024

Introduction

Follow this guide to update the Pluggable Widgets Tools package used by your pluggable widget to a newer version.

Prerequisites

Updating a Pluggable Widgets Tools Package

To update a specific widget’s Pluggable Widget Tools package, run the following commands at the root of the widget’s directory:

  1. Open the widget with the IDE of your choice.
  2. Run npm install --save-dev @mendix/pluggable-widgets-tools@latest to get the latest version.
    • You can use npm install --save-dev @mendix/pluggable-widgets-tools@YOUR_VERSION if you are targeting a specific version.
  3. When the installation finishes, run npm run start.
    • It might prompt you about handling the old dependencies. You should enter Y(es). It will take some time before the update finishes.

Read More