From c0a525aac6d96d48d9f23901e712902fded6b676 Mon Sep 17 00:00:00 2001 From: csantosm <4a.santos@gmail.com> Date: Mon, 11 Apr 2022 16:03:48 +0200 Subject: [PATCH] openvidu-components: Updated README --- .../projects/openvidu-angular/README.md | 24 ++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/openvidu-components-angular/projects/openvidu-angular/README.md b/openvidu-components-angular/projects/openvidu-angular/README.md index af2b454d..925bc485 100644 --- a/openvidu-components-angular/projects/openvidu-angular/README.md +++ b/openvidu-components-angular/projects/openvidu-angular/README.md @@ -1,20 +1,38 @@ # openvidu-angular - [![License badge](https://img.shields.io/badge/license-Apache2-orange.svg)](http://www.apache.org/licenses/LICENSE-2.0) +[![License badge](https://img.shields.io/badge/license-Apache2-orange.svg)](http://www.apache.org/licenses/LICENSE-2.0) [![Npm version](https://img.shields.io/npm/v/openvidu-angular?label=npm-version)](https://npmjs.org/package/openvidu-angular) [![Npm downloads](https://img.shields.io/npm/dw/openvidu-angular?label=npm2-downloads)](https://npmjs.org/package/openvidu-angular) **The easier way to build powerful OpenVidu videoconference frontend applications.** +## Requirements: + +You will need angular-cli (and of course NPM) to serve the Angular frontend. You can check it with the following command: + +```bash +npm -v +ng v +``` + ## How to install +1. You need to install the openvidu-angular library in your Angular application: + ``` -npm install openvidu-angular@latest +npm install openvidu-angular +``` + +2. Also you need Angular Material: + +``` +ng add @angular/material ``` ## How to use it -In your `app.module.ts`: + +You need import the openvidu-angular module in your `app.module.ts`: ```typescript import { OpenViduAngularConfig, OpenViduAngularModule } from 'openvidu-angular';