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

Creating an Angular application

To explore some practical applications of the stack in web development, we will create an Angular application first and use it as a base application, which we will use for subsequent use cases.

Starting off with the latest version of Angular is pretty straightforward. All you need as a prerequisite is to have Node.js preinstalled in your system. To test whether you have Node.js installed on your machine, go to the Terminal on the Mac or the command prompt on Windows and type the following command:

node -v

That should show you the version of Node.js that is installed. If you have something like the following:

node: command not found

This means that you do not have Node.js installed on your machine.

Once you have Node.js set up on your machine, you get access to npm, also known as the node package manager command-line tool, which can be used to set up global dependencies. Using the npm command, we will install the Angular CLI tool, which provides us with many Angular utility methods, including—but not limited tocreating a new project.

主站蜘蛛池模板: 万宁市| 高安市| 金秀| 新建县| 来安县| 竹溪县| 敦煌市| 余庆县| 富源县| 康定县| 连城县| 陵水| 寿宁县| 华阴市| 台州市| 皋兰县| 临江市| 咸丰县| 民勤县| 汤阴县| 海口市| 屏东县| 牡丹江市| 肃南| 丹阳市| 赤壁市| 灵山县| 东方市| 东安县| 福贡县| 正宁县| 南部县| 望谟县| 卓尼县| 平顶山市| 江源县| 城步| 喜德县| 清流县| 石林| 乐昌市|