Angular 10

Angular 10 - First Steps

马上开始. 它是免费的哦
注册 使用您的电邮地址
Angular 10 作者: Mind Map: Angular 10

1. First Steps

1.1. Install

1.1.1. sudo npm install -g @angular/cli@latest

1.1.1.1. Windows does not require the "sudo" prefix to the command

1.1.1.2. Linux and Mac have some chance for "sudo" prefix requirement

1.1.1.2.1. Notes: (Linux with ‘nvm’ did not want ‘sudo’

1.1.1.3. Installing Bootstrap

1.1.1.3.1. npm install --save bootstrap@3

1.2. Create

1.2.1. ng new my-dream-app

1.2.1.1. This command will create the boilerplate of our application

1.3. Run

1.3.1. ng serve

1.3.1.1. The following command will run the development server

1.3.1.2. While the ng serve is running the project will be rebuild and watched continuously

1.3.1.2.1. Unfortunately, on Linux the real-time watch is not working properly.