react-boilerplate - 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?
解决方案
当您使用从 npmjs.org 安装的 react 样板启动服务器时,它将自动从运行在端口 3000 中的 express 框架启动服务器。您可以从 nodemodules/express/package.json 文件中检查您使用的 express 框架的版本
推荐阅读
- java - 要求的文件夹中的文件
- scala - 如何将 EitherT 的异常包装到左侧?
- python - 熊猫逐行填充
- java - Android人脸检测找不到人脸
- scala - 列表缓冲区scala的排序
- ios - UIMainScreen 不是函数错误 NativeScript iOS
- android - Firebase 数据库永久连接
- java - 关于 org.springframework.messaging.MessageHeaders.get() 的声纳
- haskell - 为什么这个简单的组合不起作用?
- css - 任何人都可以在css文件中提供一些关于“-webkit”的信息吗?