延安项目外网git仓库

@zhangzhihui zhangzhihui authored on 9 Nov
bin first commit 2 months ago
html first commit 2 months ago
patches first commit 2 months ago
public updata 2 months ago
scripts first commit 2 months ago
src 无底座 1 month ago
vite/ plugins first commit 2 months ago
.env.development first commit 2 months ago
.env.production first commit 2 months ago
.env.staging first commit 2 months ago
.gitignore first commit 2 months ago
.prettierrc first commit 2 months ago
README.md first commit 2 months ago
index.html 1 2 months ago
package.json 1 2 months ago
vite.config.js 1 1 month 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,项目打包输出文件 NFProductTemplate ,可自动生成 zip 包,各自子系统中需要全局进行替换,更改为自己的名称;