React Native 初学者 index.android.js 未显示 [英] React native beginner index.android.js is not showing

查看:26
本文介绍了React Native 初学者 index.android.js 未显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

没有代码.我正在创建一个项目,但缺少一些文件.

There is no code. I am creating a project but some files are missing.

使用命令 react-native init helloworld 项目被创建,但 index.android.jsindex.ios.js 不是生成或丢失,只有 index.js 出现.

Using command react-native init helloworld project is created, but index.android.js and index.ios.js aren't generated or missing, only index.js is appearing.

推荐答案

这是由于最近的更新.

从现在开始,新项目只有一个入口点 (index.js) (6e99e31) - @fson

New projects have a single entry-point (index.js) from now on (6e99e31) - @fson

这不会在编译或运行时给您带来任何麻烦.

This shouldn't cause you any trouble during the compilation or run-time.

这篇关于React Native 初学者 index.android.js 未显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆