Ng Build an Angular 7 Project in IntelliJ Webstorm or IDEA
问题 How do I build an Angular CLI project in IntelliJ IDEA or Webstorm? I want an option to run ng build command for my Angular 7 Project, instead of running it through the command prompt. 回答1: To run ng build , open your package.json in IDEA (WebStorm) editor and press the run icon in the gutter to the left of the 'build" script: To run ng serve , run "start" script. Note that the IDE auto-creates the Angular CLI Server run configuration for running ng serve , you can use it to start the app.