Installation
There are set of libraries that you need to setup your project.
Last updated
There are set of libraries that you need to setup your project.
Last updated
Step 1: Install Node.js and NPM : Download Node.js from official website and Install it on your system. NPM comes bundled with Node.js
Step 2: Angular-cli : Install angular-cli by executing npm install -g @angular/cli
command on your your terminal or command prompt. For more details visit
Step 3: Install npm packages : In terminal go to your project root directory and run npm install
command, It will download all the dependencies under node_modules folder.
Run ng serve
command to run dev server and access http://localhost:4200/
to run your app/project on browser. The app will automatically reload if you change any of the source files.
As ng serve
runs watch command which detects any change in project files so it will automatically reload your app on browser if you make any changes in files.
Run ng build
to build the project. The build will be stored in the dist/
directory. Use the -prod
flag for a production build. Use --aot
flag for a AoT build. For example: ng build --prod --aot
To get more help on the angular-cli
use ng --help
or go check out