集控中心前端

wy 37f7815b0c 头部 1 anno fa
.vscode b55bda0014 项目设置 1 anno fa
jsmpeg-master b55bda0014 项目设置 1 anno fa
src 37f7815b0c 头部 1 anno fa
.drone.yml b55bda0014 项目设置 1 anno fa
.editorconfig b55bda0014 项目设置 1 anno fa
.env.development aca4420732 修改换电 1 anno fa
.env.production b55bda0014 项目设置 1 anno fa
.gitignore b55bda0014 项目设置 1 anno fa
Dockerfile b55bda0014 项目设置 1 anno fa
README.md dea4d8dbe6 配置路由 1 anno fa
babel.config.js b55bda0014 项目设置 1 anno fa
default.conf b55bda0014 项目设置 1 anno fa
jsconfig.json b55bda0014 项目设置 1 anno fa
package.json b55bda0014 项目设置 1 anno fa
postcss.config.js b55bda0014 项目设置 1 anno fa
vue.config.js b55bda0014 项目设置 1 anno fa

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