License badge Documentation Status Docker badge Support badge

openvidu-webcomponent

Visit openvidu.io/docs/tutorials/openvidu-webcomponent/

How to build a webcomponent

First of all, the webcomponent is built from openvidu-call so you must to clone this repository first:

$ git clone https://github.com/OpenVidu/openvidu-call.git

And also clone openvidu-tutorials in the same path with:

$ git clone https://github.com/OpenVidu/openvidu-tutorials.git

Once done, you will ned to go to the angular project with:

$ cd <your-path>/openvidu-call/front/openvidu-call/

Install npm dependencies with:

$ npm install

After that the following command will generate and copy the webcomponent files into a openvidu-webcomponent project:

$ npm run build:openvidu-webcomponent