Why do we have install Node.js for Angular 2.0?

前端 未结 4 1163
無奈伤痛
無奈伤痛 2020-12-13 02:10

I started a tutorial on Angular 2.0, the first step in setting up the workspace is installing Node.js and NPM.

Why do we have install Node.js for Angular 2.0?

<
4条回答
  •  半阙折子戏
    2020-12-13 02:58

    NodeJS gives you the tool npm that allows you to download libraries and packages you would use in Angular 2. From the shell you can go to your folder and type npm install to install dependencies you need to have installed to get your angular project going. It will make it easier for you! If you want a complete starter kit go to https://github.com/buckyroberts, you can fork or download the zip with all the starter files to get you going :)

提交回复
热议问题