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() {