最近,我尝试使用 Expo-cli 创建新的 React 本机应用程序,使用此命令 expo init并在选择模板后(我选择blank template)后,我看到新选项,其中显示选择您的工作流程:
? Choose a template: expo-template-blank\n? Choose which workflow to use: (Use arrow keys)\n> managed (default)\n Build your app with JavaScript with Expo APIs.\n advanced (experimental \xef\xbf\xbd)\n Build your app with JavaScript with Expo APIs and custom native modules.\nRun Code Online (Sandbox Code Playgroud)\n\n我尝试搜索,但找不到任何对我有帮助的东西。这是否意味着我可以使用一些之前无法使用的节点模块,因为 Expo 不支持它们。
\n对于advanced应用程序,它就像react-native init,但您还将获得 Expo API。在此之前,如果我们必须在 expo 应用程序中编写本机模块,我们就必须弹出我们的应用程序。
现在,expo 提供了一种方法,我们可以从弹出的应用程序开始,以提高稳定性。
欲了解更多信息,您可以查看此 https://blog.expo.io/expokit-2019-1e5cb02106f8
| 归档时间: |
|
| 查看次数: |
1648 次 |
| 最近记录: |