From 3f7f7f18c37b3298251fb91a7f91336790940930 Mon Sep 17 00:00:00 2001 From: metaJS Date: Mon, 1 Jul 2019 16:59:36 +0800 Subject: [PATCH 1/2] fix(doc): project config table --- docs/project-config.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/project-config.md b/docs/project-config.md index 1264bb6b9bb2..ca4974da0019 100644 --- a/docs/project-config.md +++ b/docs/project-config.md @@ -6,7 +6,7 @@ title: 项目配置 * 微信小程序,[project.config.json](https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html?search-key=%E9%A1%B9%E7%9B%AE%E9%85%8D%E7%BD%AE) * 百度智能小程序,[project.swan.json](https://smartprogram.baidu.com/docs/develop/devtools/projectconfig/) -* 头条小程序,project.config.json,文档暂无,大部分字段与微信小程序一致 +* 头条小程序,project.tt.json,文档暂无,大部分字段与微信小程序一致 * 支付宝小程序,暂无发现 * 快应用,[manifest.json](https://doc.quickapp.cn/framework/manifest.html) @@ -14,11 +14,13 @@ title: 项目配置 通过 Taro 模板创建的项目都会默认拥有 `project.config.json` 这一项目配置文件,这个文件 **只能用于微信小程序**,若要兼容到其他小程序平台,请按如下对应规则来增加相应平台的配置文件,其配置与各自小程序平台要求的一致 + | 小程序平台 | 添加配置文件 | 说明 | -| - | - | +| --- | --- | --- | | 微信小程序 | project.config.json | | | 百度智能小程序 | project.swan.json | | | 头条小程序 | project.tt.json | | | 快应用 | project.quickapp.json | 配置文件中请勿配置 `router` 与 `display`,这两个配置将由 Taro 生成 | + > 注意:快应用的 `project.quickapp.json` 配置请参考[文件](https://github.com/NervJS/taro/blob/master/packages/taro-cli/src/config/manifest.default.json) From dd2853bc3d91709df477e67a16ed0688c39c9e4e Mon Sep 17 00:00:00 2001 From: metaJS Date: Tue, 2 Jul 2019 14:10:26 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix(doc):=20=E4=BF=AE=E6=94=B9project?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E9=94=99=E8=AF=AF=E7=9A=84=E5=9C=B0=E6=96=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/project-config.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/project-config.md b/docs/project-config.md index ca4974da0019..3c1c8bad714d 100644 --- a/docs/project-config.md +++ b/docs/project-config.md @@ -6,7 +6,7 @@ title: 项目配置 * 微信小程序,[project.config.json](https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html?search-key=%E9%A1%B9%E7%9B%AE%E9%85%8D%E7%BD%AE) * 百度智能小程序,[project.swan.json](https://smartprogram.baidu.com/docs/develop/devtools/projectconfig/) -* 头条小程序,project.tt.json,文档暂无,大部分字段与微信小程序一致 +* 头条小程序,project.config.json,文档暂无,大部分字段与微信小程序一致 * 支付宝小程序,暂无发现 * 快应用,[manifest.json](https://doc.quickapp.cn/framework/manifest.html)