-
Notifications
You must be signed in to change notification settings - Fork 0
Angular
Thomas Czogalik edited this page Feb 10, 2021
·
10 revisions
- install node js and npm
- install angular cli
npm install -g @angular/cli
Create new project "my-app"
ng new my-app
Go to project folder and launch
cd my-app
//open, opens webbrowser on localhost:4200
ng serve --open
cd my-app
code .
creates a new folder, src/app/somename/ and generates the three files of the SomenameComponent
ng generate component somename
Generates skeleton AppService class in src/app/app.service.ts
ng generate service app