React中的文件夹结构:找不到所需的文件。名称:index.js

发布于 2025-01-22 23:43:26 字数 265 浏览 1 评论 0原文

因此,我将src文件夹的内容移到了我创建的名为app文件夹的文件夹中。我正在为我的项目建立一个带有电子患者记录的医院管理系统。我在这个项目中看到了很多未来,所以我想开始好。我遇到的错误是找不到所需的文件。名称:index.js 我所做的屏幕截图

So I moved the contents of my src folder into a folder i created called app folder. I am building my project a hospital management system with electronic patient records. I see a lot of future in this project so I want to Start well. The error I am getting is Could not find a required file. Name: index.js screen shot of what I did

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

怪我鬧 2025-01-29 23:43:26

与React一起工作时,可以在此处创建一个名为index.js的文件
SRC文件夹。这可以通过
- 点击SRC文件夹
- 选择新文件
- 名称文件索引
- 按住Enter键创建

,然后您可以重试。

when working with react it suffices to create a file named index.js in the
src folder. this can be done by
-right clicking on the src folder
-choose new file
-name the file index.js
-press the enter key to create

then you can try again.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文