Back to Devexpress

Upgrade to a New Package Version

dashboard-402493-web-dashboard-integrate-dashboard-component-dashboard-component-for-vue-upgrade-to-a-new-package-version.md

latest1.5 KB
Original Source

Upgrade to a New Package Version

  • May 15, 2023

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:
json
{
  // ...
  "dependencies": {    
    "@devexpress/analytics-core": "25.2.5",    
    "devexpress-dashboard": "25.2.5",
    "devextreme": "25.2.5",
    "devexpress-dashboard-vue": "25.2.5",
    "devextreme-vue": "25.2.5"
  },
}
  1. Install npm packages:
npm install

Version Update in the Command Line

Run the following command:

See Also

Breaking Changes