2022-01-19 17:24:11 +01:00
|
|
|
# OpenviduComponents
|
|
|
|
|
|
|
|
|
|
|
|
## Architechture
|
|
|
|
|
|
|
|
```
|
|
|
|
openvidu-components-angular
|
|
|
|
│
|
|
|
|
└─── src (openvidu-components-testapp)
|
|
|
|
│
|
|
|
|
└───projects
|
|
|
|
│
|
2022-01-20 09:58:12 +01:00
|
|
|
└─── openvidu-angular
|
2022-01-19 17:24:11 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
## Development server
|
|
|
|
|
|
|
|
Run `ng serve` for a dev server.
|
|
|
|
|
2022-01-20 09:58:12 +01:00
|
|
|
Run, in a new terminal, `npm run lib:serve` for serving the openvidu-angular library with live reload
|
2022-01-19 17:24:11 +01:00
|
|
|
|
|
|
|
## Code scaffolding
|
|
|
|
|
2022-01-20 09:58:12 +01:00
|
|
|
For generate new components in openvidu-angular:
|
2022-01-19 17:24:11 +01:00
|
|
|
|
|
|
|
```bash
|
2022-01-20 09:58:12 +01:00
|
|
|
ng g component components/component-name --project=openvidu-angular
|
2022-01-19 17:24:11 +01:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
## Build
|
|
|
|
|
|
|
|
Run `npm run lib:build` to build the library.See more [here](projects/openvidu-components-angular/README.md)
|