0.0.2 • Published 4 years ago
rws-video-basic v0.0.2
Read With Someone Video Chat
This is a video calling plugin for websites.
Getting Started
Angular
To use this plugin in an Angular app you'll need to do the following:
- Include
CUSTOM_ELEMENTS_SCHEMA
in the modules that use the components. - Call
defineCustomElements()
frommain.ts
(or some other appropriate place). - Refer to this website:
https://stenciljs.com/docs/angular
React
To use this plugin in an React app you'll need to do the following:
- Refer to this website:
https://stenciljs.com/docs/react
Vue
To use this plugin in an Vue app you'll need to do the following:
- Refer to this website:
https://stenciljs.com/docs/vue
JavaScript
To use this plugin in an JavaScript app you'll need to do the following:
- Refer to this website:
https://stenciljs.com/docs/JavaScript
- Put a script tag similar to this
<script src='https://unpkg.com/rws-video-basic@0.0.1/dist/rwsvideobasic.js'></script>
in the head of your index.html - Then you can use the element anywhere in your template, JSX, html etc
Node Modules
- Run
npm install rws-video-basic --save
- Put a script tag similar to this
<script src='node_modules/rws-video-basic/dist/rwsvideobasic.js'></script>
in the head of your index.html - Then you can use the element anywhere in your template, JSX, html etc
In a stencil-starter app
- Run
npm install rws-video-basic --save
- Add an import to the npm packages
import rws-video-basic;
- Then you can use the element anywhere in your template, JSX, html etc