mirror of https://github.com/OpenVidu/openvidu.git
openvidu-components: Updated README
parent
493f1e3ba0
commit
c0a525aac6
|
@ -6,15 +6,33 @@
|
||||||
|
|
||||||
**The easier way to build powerful OpenVidu videoconference frontend applications.**
|
**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
|
## 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
|
## How to use it
|
||||||
|
|
||||||
In your `app.module.ts`:
|
|
||||||
|
You need import the openvidu-angular module in your `app.module.ts`:
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
import { OpenViduAngularConfig, OpenViduAngularModule } from 'openvidu-angular';
|
import { OpenViduAngularConfig, OpenViduAngularModule } from 'openvidu-angular';
|
||||||
|
|
Loading…
Reference in New Issue