From dfa3180cec9b322fca126587fb0c364e1a15106e Mon Sep 17 00:00:00 2001 From: xuqm Date: Tue, 15 Jul 2025 10:12:21 +0800 Subject: [PATCH] =?UTF-8?q?docs:=E5=AE=8C=E5=96=84=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E7=BB=93=E6=9E=84=E5=92=8C=E8=AF=B4=E6=98=8E=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 更新 specs/README.md,添加代码生成脚本说明 - 新增 app/README.md,说明 app 入口功能- 新增 common/README.md,说明基础类库的功能 - 新增 hospital/README.md,说明互联网医院模块 - 新增 ywq/README.md,说明医网签模块 - 移除 App.tsx 中的无用代码 --- specs/README.md | 15 ++++++++++++++- src/app/App.tsx | 1 - src/app/README.md | 1 + src/common/README.md | 3 +++ src/hospital/README.md | 1 + src/ywq/README.md | 2 ++ 6 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 src/app/README.md create mode 100644 src/common/README.md create mode 100644 src/hospital/README.md create mode 100644 src/ywq/README.md diff --git a/specs/README.md b/specs/README.md index 2418139..40b0f74 100644 --- a/specs/README.md +++ b/specs/README.md @@ -1 +1,14 @@ -# 文件名必须`Native`开头 +# 文件名必须`Native`开头,否则脚本无法生成 + +```shell +cd android +./gradlew generateCodegenArtifactsFromSchema +``` + +```shell +cd ios +bundle install +bundle exec pod install +``` + +# [官方文档](https://reactnative.cn/docs/next/turbo-native-modules-introduction?platforms=android) diff --git a/src/app/App.tsx b/src/app/App.tsx index ea94d92..0f27aff 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -25,7 +25,6 @@ function App() {