自动更新管控端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
xyiege d58f6cd610 动态配置api基础路径,自动适应 10 months ago
..
public 提交前端vue界面 10 months ago
src 动态配置api基础路径,自动适应 10 months ago
.env 动态配置api基础路径,自动适应 10 months ago
.env.development 动态配置api基础路径,自动适应 10 months ago
.env.production 动态配置api基础路径,自动适应 10 months ago
.gitignore 提交前端vue界面 10 months ago
README.md 更新proto 协议内容 10 months ago
index.html 提交前端vue界面 10 months ago
package-lock.json 增加probufjs 10 months ago
package.json 修改打包错误 10 months ago
vite.config.js 动态配置api基础路径,自动适应 10 months ago
yarn.lock 增加probufjs 10 months ago

README.md

afvue

This template should help get you started developing with Vue 3 in Vite.

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Customize configuration

See Vite Configuration Reference.

Project Setup

npm install

Compile and Hot-Reload for Development

npm run dev

Compile and Minify for Production

npm run build

操作

1、读取项目下的config.json文件,获取到服务器信息 2、使用protobufjs库,将scinfo.proto文件编译为js文件

pbjs scinfo.proto --es6 scinfo.js

参考网址

https://juejin.cn/post/6844903699458818062

https://www.jb51.net/article/242685.htm