Getting started Flashcards
Convention over configuration
Structure straight out of the box
Provides common solutions to common problems
Larger learning curve
Angular CLI
Build the project
Start a development server
Run tests
Deploy the app
Installation
Install NPM and Node
Then:
>npm install -g @angular/cli
angular version
> ng version
angular help
> angular help
command help
ng [command] –help
angular new app (CLI)
> ng new [project_name]
To update a project to a newer version
“Update Project Guide”
Development Server
A http server for development purposes only that track all changes to the project files
.editorconfig
Support many code editors across different team members
.gitignore
Allows to configure what is to be included in the git commit
angular.json
Angular allows many projects at the same time
architect section in angular.json
To compile the project
karma.config.js
testing Configuration
package.json
Project dependencies