集控中心前端

wy 367124f814 实时影像 1 year ago
.vscode b55bda0014 项目设置 1 year ago
jsmpeg-master b55bda0014 项目设置 1 year ago
src 367124f814 实时影像 1 year ago
.drone.yml b55bda0014 项目设置 1 year ago
.editorconfig b55bda0014 项目设置 1 year ago
.env.development 367124f814 实时影像 1 year ago
.env.production b55bda0014 项目设置 1 year ago
.gitignore b55bda0014 项目设置 1 year ago
Dockerfile b55bda0014 项目设置 1 year ago
README.md dea4d8dbe6 配置路由 1 year ago
babel.config.js b55bda0014 项目设置 1 year ago
default.conf b55bda0014 项目设置 1 year ago
jsconfig.json b55bda0014 项目设置 1 year ago
package-lock.json 367124f814 实时影像 1 year ago
package.json 367124f814 实时影像 1 year ago
postcss.config.js b55bda0014 项目设置 1 year ago
vue.config.js b55bda0014 项目设置 1 year ago

README.md

Getting started


# install dependency
npm install

# develop
npm run dev

node 后端服务需执行以下命令:

node websocket-relay.js video1 8081 8082

Build

# build for test environment
npm run build:stage

# build for production environment
npm run build:prod

Advanced

# preview the release environment effect
npm run preview

# preview the release environment effect + static resource analysis
npm run preview -- --report

# code format check
npm run lint

# code format check and auto fix
npm run lint -- --fix