我正在 IntelliJ 中按照步骤来支持 Angular。
https://www.jetbrains.com/help/idea/2017.1/using-angular.html#install_angular_cli
我已经成功创建了项目,但不知道如何运行它。我想我必须在 Edit Configuration
选项中提到一些配置。
在 IntelliJ 中运行 Angular2 应用程序的方式是什么?
最佳答案
要在 IDEA 中运行使用 angular-cli 创建的 Angular 应用程序,您必须从 NPM Tool Window 运行 npm start
要启动应用程序,请创建 JavaScript Debug运行 http://localhost:4200/
URL 的配置并点击“调试”。
参见https://blog.jetbrains.com/webstorm/2017/01/debugging-angular-apps/ , https://www.youtube.com/watch?v=upgjCMHGpwo了解更多信息。 另请参阅https://blog.jetbrains.com/webstorm/2016/04/angular-2-workflow-in-webstorm/
关于angular - 如何在 IntelliJ 中运行 Angular 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44591941/