CLI Commands
Creating a new workspace and project.
ng new application-name
Serve the application
ng serve --open
The open flag will open the app in your browser.
Create a new component
ng generate component component-name
Create a new service
ng generate service service-name
Last updated
Was this helpful?