简体   繁体   中英

Where are the packages in init react-app?

npm init react-app my-app命令将许多软件包导入到项目中,但是为什么该依赖项不在package.json

The dependencies are in the package.json of react-scripts which your project will depend on when initializing it. The only dependency of your project will be react-scripts .

If you want to manage these yourself you need to eject your project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM