Skip to main content
A newer version of this page is available. .
All docs
V20.2

Upgrade to a New Package Version

The topic below describes how to upgrade the client-side DashboardControl to a new version with npm.

The devexpress-dashboard npm package references the devextreme and @devexpress/analytics-core npm packages as peer dependencies. The peer dependencies should be installed and updated manually.

Requirements

  • The script version on the client should match with libraries version on the server.
  • All installed devexpress npm packages should have matching versions.

Version Update in package.json

  1. Open the package.json file and specify package versions:
{
  // ...
  "dependencies": {    
    "@devexpress/analytics-core": "20.2.13",    
    "devexpress-dashboard": "20.2.13",
    "devextreme": "20.2.13",
    "devexpress-dashboard-react": "20.2.13",
    "devextreme-react": "20.2.13"
  },
}
  1. Install npm packages:
npm install

Version Update in the Command Line

Run the following command:

npm install devexpress-dashboard@20.2.13 devextreme@20.2.13 @devexpress/analytics-core@20.2.13 devexpress-dashboard-react@20.2.13 devextreme-react@20.2.13 --save --save-exact
See Also