Setup Angular for Development
Download Node.js and install
check installtion by---------------------
PS C:\Users\Maxx> node --version
v16.6.2
PS C:\Users\Maxx> npm --version
7.20.3
Then install Angular CLI
Angular CLI is command line interface to manage the angular app using command line interface
check Angular CLI version : ng --version
There are few command :
ng new project_name to create a new angular project.
cd project_name to enter in that particlular project you created before.
Workspace and project configuration
A single workspace configuration file, angular.json, is created at the top level of the workspace. This is where you can set per-project defaults for CLI command options, and specify configurations to use when the CLI builds a project for different targets.
The ng config command lets you set and retrieve configuration values from the command line, or you can edit the angular.json file directly. Note that option names in the configuration file must use camelCase, while option names supplied to commands can use either camelCase or dash-case.
See more about Workspace Configuration.
See the complete schema for angular.json.
CLI command-language syntax
---------------------------------------
0 Comments