【问题标题】:Eclipse Mars, AngularJS and nodeJSEclipse Mars、AngularJS 和 nodeJS
【发布时间】:2016-05-31 09:47:03
【问题描述】:

我希望您能帮助我了解 node.js 和 angular.js 如何在 eclipse 上工作。

我有 Eclipse Mars,我想在本地服务器 (localhost:8080) 上运行我的 Angularjs 项目,但我不知道该怎么做。

我在 eclipse 上按照 angularjs 和 nodejs 的配置在这里:https://techanand.wordpress.com/2014/03/09/how-to-install-and-configure-angularjs-in-eclipse/

谢谢。

【问题讨论】:

  • 您不必拥有 Eclipse 即可运行节点 js 应用程序。只需从控制台运行“node app.js”。
  • 感谢您的回答。我知道,但我想从 Eclipse 中运行它。我想我需要其他工具,如 Nodeclipse 或其他工具。

标签: javascript angularjs node.js eclipse server


【解决方案1】:

AngularJS Eclipse 使用 node.js 是因为它需要执行 tern.js 这个 JavaScript 推理引擎,它为 JavaScript 提供强大的完成、悬停、超链接...

AngularJS 项目是一个需要服务器(Jetty、Tomcat、node.js 等)的 Web 应用程序。在您的情况下,您似乎有一个用 node.js 编写的 HTTP 服务器,换句话说,您的项目是一个 node.js 应用程序

如果您希望启动 node.js 文件的运行/调试,您可以:

【讨论】:

  • 感谢您的回答。这和 Nodeclipse 类似吗?
猜你喜欢
  • 1970-01-01
  • 2016-11-01
  • 1970-01-01
  • 2017-04-24
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多