首页 > 解决方案 > What server is react boilerplate using "under the hood"?

问题描述

When you start a server on localhost using react boilerplate and type "npm start", what server is actually being used? Apache, nginx?

标签: react-boilerplate

解决方案


当您使用从 npmjs.org 安装的 react 样板启动服务器时,它将自动从运行在端口 3000 中的 express 框架启动服务器。您可以从 nodemodules/express/package.json 文件中检查您使用的 express 框架的版本


推荐阅读