Skip to content

Commit

Permalink
docs(website): 修复文档错误以及更新静态编译示意图
Browse files Browse the repository at this point in the history
  • Loading branch information
lyfeyaj committed Jul 25, 2023
1 parent a6a7c77 commit 7ff6ee9
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion website/docs/guides/basic/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
baidu 百度小程序
bytedance 字节小程序
dingding 钉钉小程序
eleme 饿了么小程序
kuaishou 快手小程序
qq QQ 小程序
taobao 淘宝小程序
Expand Down
1 change: 0 additions & 1 deletion website/docs/guides/conditional-compile/file-level.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
- 字节小程序 (`.tt`): `index.tt.js`
- 快手小程序 (`.ks`): `index.ks.js`
- 钉钉小程序 (`.dd`): `index.dd.js`
- 饿了么小程序 (`.ele`): `index.ele.js`
- 淘宝小程序 (`.tb`): `index.tb.js`
- Web 应用 (`.web`): `index.web.js`

Expand Down
2 changes: 1 addition & 1 deletion website/docs/guides/introduction/how-mor-works.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ MorJS 内置了一套完整的插件体系,覆盖从源码构建到生成产

## 静态编译原理

<img src="https://img.alicdn.com/imgextra/i1/O1CN01L57dw41G6w9fB4YGe_!!6000000000574-2-tps-2582-1336.png" width="1200" />
<img src="https://gw.alicdn.com/imgextra/i1/O1CN01lDSF0c1dpZyMjDcIy_!!6000000003785-0-tps-2039-1044.jpg" width="1200" />

静态编译转换主要用于处理 `JS``WXS/SJS``WXML/AXML``WXSS/ACSS``JSON` 等源码中约束强且不能动态修改的部分,如:

Expand Down
3 changes: 0 additions & 3 deletions website/docs/specifications/component.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ MorJS 是通过 `package.json` 中指定的入口字段来做多端逻辑区分
- 优先级比 `miniprogram`
- `bytedance`: 字节跳动小程序加载入口
- `baidu`: 百度小程序加载入口
- `eleme`: 饿了么小程序加载入口
- `dingding`: 钉钉小程序加载入口
- `taobao`: 淘宝小程序加载入口
- `kuaishou`: 快手小程序加载入口
Expand Down Expand Up @@ -152,8 +151,6 @@ MorJS 是通过 `package.json` 中指定的入口字段来做多端逻辑区分
- project.qq.json: QQ 小程序项目配置文件
- 也可以直接使用 project.config.json 文件
- project.swan.json: 百度小程序项目配置文件
- project.eleme.json: 饿了么小程序项目配置文件
- 也可以直接使用 mini.project.json 文件
- project.taobao.json: 淘宝小程序项目配置文件
- project.kuaishou.json: 淘宝小程序项目配置文件
- 也可以直接使用 mini.project.json 文件
Expand Down
1 change: 0 additions & 1 deletion website/docs/specifications/js.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ MorJS 是通过 `package.json` 中指定的入口字段来做多端逻辑区分
- 优先级比 `miniprogram`
- `bytedance`: 字节跳动小程序加载入口
- `baidu`: 百度小程序加载入口
- `eleme`: 饿了么小程序加载入口
- `dingding`: 钉钉小程序加载入口
- `taobao`: 淘宝小程序加载入口
- `kuaishou`: 快手小程序加载入口
Expand Down

0 comments on commit 7ff6ee9

Please sign in to comment.