Skip to content

Commit

Permalink
修改文档
Browse files Browse the repository at this point in the history
  • Loading branch information
aiplat committed Apr 1, 2019
1 parent 17b2453 commit d2767e5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
- 一次开发,同时打包成Android版app、iOS版app、H5版、微信小程序版、支付宝小程序版、百度小程序版、头条小程序7个平台,界面统一,功能一致。
- cmui仓库为https://github.com/aiplat/cmui.git
- 代码示例为 https://aiplat.com 的版本

- uniapp vue-cli2版本为 https://github.com/aiplat/uniapp/tree/vuecli2
- uniapp vue-cli3 非typescript版本为 https://github.com/aiplat/uniapp/tree/vuecli3

Expand Down Expand Up @@ -79,6 +79,9 @@
- manifest.json -- uni-app应用的配置文件,用于指定应用的名称、图标、权限等。
- mpConf.js -- aiplat配置信息
- pages.json -- 用于对 uni-app 进行全局配置,决定页面文件的路径、窗口表现、设置多 tab 等
-
- 构建APP前先将src/projects/aiplat/manifest.json中appid替换为自己帐号的appid,可以在hbuilderX中新建一个uniapp项目获取到
- 构建APP前先执行一次非APP构建模式,使src目录有以上三个文件。

## 当有其他项目时如miniQQ:
- 开发命令为npm run dev --apptype=miniQQ
Expand Down
3 changes: 3 additions & 0 deletions src/projects/aiplat/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@
"mp-baidu" : {
"appid" : "https://aiplat.com"
},
"mp-toutiao" : {
"appid" : "touristappid"
},
"h5" : {
"title" : "AI智能空间",
"domain" : "https://aiplat.com"
Expand Down

0 comments on commit d2767e5

Please sign in to comment.