Skip to content

Commit

Permalink
修改适配各平台运行构建兼容
Browse files Browse the repository at this point in the history
  • Loading branch information
aiplat committed May 21, 2021
1 parent b36507c commit 8509a47
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
- manifest目录下还有uat/ver/pro(三个环境目录)
- manifest.json -- uni-app应用的配置文件,用于指定应用的名称、图标、权限等。运行微信和头条小程序时请先将其中的appid改为自己可用的。
- selfConfig.ts -- aiplat配置信息
- selftPages.json -- 用于对 uni-app 进行全局配置,决定页面文件的路径、窗口表现、设置多 tab 等
- selfPages.json -- 用于对 uni-app 进行全局配置,决定页面文件的路径、窗口表现、设置多 tab 等
- 运行构建APP前先执行一次dev或build命令,使src目录里有以上对应的三个文件。

## 当有其他项目时如jifenqi(娱乐计分器,后续开源):
Expand Down
2 changes: 1 addition & 1 deletion src-builds/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class configClass{
});

utilsClass.buildFile({
oldFile:`${utilsParams.currentDir}/src/projects/${utilsParams.type}/selftPages.json`,
oldFile:`${utilsParams.currentDir}/src/projects/${utilsParams.type}/selfPages.json`,
newFile:`${utilsParams.currentDir}/src/pages.json`,
});
utilsClass.buildFile({
Expand Down
File renamed without changes.

0 comments on commit 8509a47

Please sign in to comment.