mirror of https://github.com/OpenVidu/openvidu.git
44 lines
697 B
Markdown
44 lines
697 B
Markdown
# Openvidu Angular TestAPP
|
|
|
|
|
|
## Architechture
|
|
|
|
```
|
|
openvidu-components-angular
|
|
│
|
|
└─── src (openvidu-components-testapp)
|
|
│
|
|
└───projects
|
|
│
|
|
└─── openvidu-angular
|
|
```
|
|
|
|
## How to develop with ease:
|
|
|
|
Run `ng serve` for a dev server.
|
|
|
|
Run, in a new terminal, `npm run lib:serve` for serving the openvidu-angular library with live reload for listening changes
|
|
|
|
## Code scaffolding
|
|
|
|
For generate new components in openvidu-angular:
|
|
|
|
```bash
|
|
ng g component components/component-name --project=openvidu-angular
|
|
```
|
|
|
|
|
|
## Build library
|
|
|
|
```bash
|
|
npm run lib:build
|
|
```
|
|
|
|
## Publishing
|
|
|
|
After the library is built, tun the following command:
|
|
|
|
```bash
|
|
cd dist/ && npm publish
|
|
```
|