diff --git a/ui-kit/angular/v5/integration.mdx b/ui-kit/angular/v5/integration.mdx index a09c6aef0..72f0c0dfc 100644 --- a/ui-kit/angular/v5/integration.mdx +++ b/ui-kit/angular/v5/integration.mdx @@ -69,6 +69,14 @@ yarn add @cometchat/chat-uikit-angular@5.0.0-beta.2 @cometchat/chat-sdk-javascri + +`@cometchat/chat-sdk-javascript` and `dompurify` are required peer dependencies. npm may install them automatically alongside the UIKit, but this is not guaranteed — it depends on your npm version and whether there are version conflicts. If you see errors related to missing `CometChat` or `DOMPurify` at runtime, install them explicitly: + +```bash +npm install @cometchat/chat-sdk-javascript dompurify +``` + + If you want voice/video calling, also install: ```bash diff --git a/ui-kit/angular/v5/quickstart.mdx b/ui-kit/angular/v5/quickstart.mdx index 7a7eb4e13..70261ac22 100644 --- a/ui-kit/angular/v5/quickstart.mdx +++ b/ui-kit/angular/v5/quickstart.mdx @@ -16,6 +16,14 @@ Follow these steps to integrate CometChat UIKit into your Angular application. npm install @cometchat/chat-uikit-angular@5.0.0-beta.2 ``` + +`@cometchat/chat-sdk-javascript` and `dompurify` are required peer dependencies. npm may install them automatically alongside the UIKit, but this is not guaranteed — it depends on your npm version and whether there are version conflicts. If you see errors related to missing `CometChat` or `DOMPurify` at runtime, install them explicitly: + +```bash +npm install @cometchat/chat-sdk-javascript dompurify +``` + + ## Step 2: Import Styles Add the CSS variables to your `angular.json`: