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

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
主站蜘蛛池模板: 馆陶县| 咸阳市| 吴桥县| 华坪县| 喜德县| 高雄县| 宜州市| 荆州市| 武平县| 历史| 天水市| 金沙县| 南宁市| 滁州市| 谢通门县| 永定县| 徐闻县| 长白| 黑山县| 隆林| 巴马| 中阳县| 兴化市| 湘阴县| 娄烦县| 安吉县| 丹棱县| 永善县| 衡南县| 大悟县| 宜昌市| 乌海市| 格尔木市| 通渭县| 长宁县| 区。| 嵩明县| 玉门市| 汶川县| 乌拉特后旗| 东至县|