东湖高新外网git

@zhangqy zhangqy authored 2 days ago
bin first commit 1 month ago
html first commit 1 month ago
public 1 3 days ago
scripts first commit 1 month ago
src Merge branch 'master' of http://server4.wh-nf.cn:8081/git/root/DH_Apicture into master 2 days ago
vite/ plugins first commit 1 month ago
.env.development first commit 1 month ago
.env.production first commit 1 month ago
.env.staging first commit 1 month ago
.gitignore first commit 1 month ago
.prettierrc first commit 1 month ago
README.md first commit 1 month ago
index.html 1 21 days ago
package.json first commit 1 month ago
vite.config.js 右侧公共弹窗开发 2 days ago
README.md

产品化 pc 端公共项目封装,包括公共方法、组件

1,permission.js 中的 getRouters("data_analysis"),data_analysis 是在主项目中配置的动态路由名称

2,vite.config.js 中 VITE_APP_ENV 配置,是各个子项目配置的访问路径名称:base: VITE_APP_ENV === 'production' ? '/NFProduct' : '/',

需要根据各自子系统中的名称做对应更改

3,项目打包输出文件 WaterBrain ,可自动生成 zip 包,各自子系统中需要全局进行替换,更改为自己的名称;