Welcome to the Angular Practice Repository! This repository is designed to help practice and enhance skills with Angular, specifically focusing on Angular version 18.
- Command:
ng new project_name
- Description: Initializes a new Angular project with the specified name.
- Commands:
- Navigate to the project directory:
cd project
- Start the development server:
ng serve
- Navigate to the project directory:
- Description: Runs the project locally.
- Command:
ng serve --open
- Description: Starts the development server and automatically opens the project in the default web browser.
- Command:
ng serve --port 4203
- Description: Starts the development server on the specified port.
- Command:
ng generate component component_name
- Shorthand:
ng g c component_name
- Shorthand:
- Description: Generates a new component with the specified name.