官术网_书友最值得收藏!

Creating an Angular application

Before moving on to the individual use cases, we will first create the Angular application which will work as the base for our examples.

Follow the given commands to get up and running with the application:

  1. Install the Angular CLI:
npm install -g @angular/cli
  1. Create a new project in the folder of your choice by running the following command:
ng new <project-name>
  1. After these two steps, you should be able to see the new project created and all the corresponding node modules installed and ready to go.
  2. To run your application, run the following command from a Terminal:
ng serve
主站蜘蛛池模板: 渝中区| 文山县| 葵青区| 晋州市| 墨脱县| 宜城市| 台北市| 新丰县| 保亭| 即墨市| 边坝县| 吉木萨尔县| 东兰县| 昌宁县| 凤庆县| 玉屏| 鸡西市| 祁阳县| 遵义县| 札达县| 崇文区| 铜山县| 上思县| 响水县| 芜湖县| 阿瓦提县| 鹰潭市| 崇仁县| 彰化市| 四子王旗| 沁水县| 礼泉县| 象州县| 淮安市| 徐水县| 同德县| 高清| 甘泉县| 辉南县| 佛教| 定日县|