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

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
主站蜘蛛池模板: 万载县| 安新县| 应城市| 成安县| 安岳县| 安岳县| 武鸣县| 大足县| 门源| 正定县| 镇沅| 道真| 金川县| 毕节市| 曲水县| 岳普湖县| 崇明县| 扶余县| 海盐县| 桃江县| 龙泉市| 道真| 会同县| 江源县| 南郑县| 商洛市| 上林县| 吉林市| 高陵县| 新津县| 汾西县| 西乌珠穆沁旗| 敦化市| 资源县| 三都| 青冈县| 梧州市| 凤翔县| 镇赉县| 乌拉特中旗| 乃东县|