react-create-app / react-scripts如何找到入口点? [英] How does react-create-app/react-scripts find the entry point?

查看:100
本文介绍了react-create-app / react-scripts如何找到入口点?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在此教程 npm启动如何找到 src / index / js 来为渲染器加注星标?我在任何地方都找不到此配置。

In this tutorial, how does npm start find the src/index/js to star the render? I can't find the configuration of this anywhere.

推荐答案

您可以运行 npm run弹出,以便该项目返回到正常的webpack项目。然后您可以找到配置。

you can run npm run eject so that the project turn back to a normal webpack project. then you can find the configs.

这篇关于react-create-app / react-scripts如何找到入口点?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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