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

前端 未结 4 1167
無奈伤痛
無奈伤痛 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 03:03

    You do not need to use Node anywhere in production to use any front-end JavaScript framework, whether it is jQuery, AngularJS, ReactJS, Angular2, etc.

    Angular2 can be used in isolation but to get and feel better development environment, angular2 should be used with nodejs and npm. Some of the nodejs modules helps you in web development.

提交回复
热议问题