小编Vin*_*ino的帖子

NG Live Development Server与传统Web服务器

我是Angular2的新手。我说过要通过互联网上的资源来学习。

我正在使用Angular-Cli工具来构建测试应用程序。

当我发出命令时,ng serve --open我的示例项目在默认端口4200上运行,控制台显示,

** NG Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200 **
Run Code Online (Sandbox Code Playgroud)

现在我对NG Live Development Server非常困惑。

我有以下担忧,

  • 作为客户端框架,为什么angular需要开发服务器。

  • Live Server实际位于运行的计算机中的位置

  • Live Server只能提供Javascript或任何其他语言。
  • 将Angular2应用程序与诸如Spring-MVC的服务器端框架集成的复杂性是什么?

有人可以提供您对此的想法吗?如果我错误地理解了这些概念,请纠正我。

command-line-interface node.js typescript angular

4
推荐指数
2
解决办法
3653
查看次数