集控中心前端

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

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