Skip to content

polyv/polyv-prtc-websdk-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebRTC-web-demo

创建 app 的配置文件

src/config 目录下创建 app.js 文件,并在文件中添加如下代码:

export const appId = 'xxxx-xxxxxxxx';
export const appKey = 'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy'; // 请替换为正确的 appId 及 appKey

安装依赖包

yarn install

本地开发调试

yarn serve

构建打包

yarn build

Lints

yarn lint