This project was generated with Angular CLI version 6.2.2.
-
Node.js.
-
Angular CLI.
-
Studio Code (Optional)
To verify and install Prerequisites
Open command Line:
- First verify the version of node in your machine: (if it is not installed - Install it)
run node -v
- Verify if Angular CLI is installed
run ng -v
- If not: Install it
run npm i -g @angular/cli
- Verify if it was installed properly:
run npm list -g @angular/cli --depth=0 //to list all packages of Angular CLI globally in the machine.
- See if the angular CLI is running:
run ng -v
Run npm install
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.