【问题标题】:Using React-Native Cli, how to use constants etc. other expo dependent things?使用 React-Native Cli,如何使用常量等其他依赖于 expo 的东西?
【发布时间】:2021-04-09 21:28:02
【问题描述】:

所以由于一些问题,我们在没有 expo 的情况下开始了项目,但现在每个其他教程都显示 expo,它使用 expo 中的常量或图标,如何使用它们?

【问题讨论】:

    标签: react-native mobile constants expo react-native-cli


    【解决方案1】:

    您可以按照以下说明进行安装:https://docs.expo.io/bare/hello-world/ 或者,使用 expo init 初始化您的项目并选择“裸”模板 - 这与使用 react-native CLI 创建的项目相同,但设置了 expo 模块。

    【讨论】:

      猜你喜欢
      • 2014-10-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-10-28
      • 2020-10-08
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多