Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The process for updating or upgrading Angular CDK is as follows:

  1. Check the current version of Angular CDK in the project by running the command "ng version".

  2. Ensure that the Angular CLI is updated to the latest version by running the command "npm install -g @angular/cli".

  3. Determine the latest version of Angular CDK and update the project by running the command "ng update @angular/cdk". It will update the Angular CDK and its dependencies to the latest version available.

  4. After updating the Angular CDK, verify that the application still works correctly by running the application and checking the console for any errors or warnings.

  5. If there are any issues, check the Angular CDK release notes and documentation for any breaking changes or deprecations and update the application code accordingly.

  6. Repeat Step 4 until the application runs without any issues.

  7. Finally, commit and push the changes to the repository.