Project Setup with Angular
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
# Project Setup with Angular
|
||||
|
||||
## Getting Started
|
||||
|
||||
### **Prerequisites**
|
||||
|
||||
Make sure you have the following installed:
|
||||
|
||||
- Node.js (LTS version)
|
||||
- npm (comes with Node.js)
|
||||
- Angular CLI
|
||||
|
||||
### Install Angular CLI
|
||||
|
||||
```bash
|
||||
npm install -g @angular/cli
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## Create & Run Project
|
||||
|
||||
### Create a New Angular Project
|
||||
|
||||
```bash
|
||||
ng new my-angular-app
|
||||
```
|
||||
|
||||
### Navigate into the Project Directory
|
||||
|
||||
```bash
|
||||
cd my-angular-app
|
||||
```
|
||||
|
||||
### Start the Development Server
|
||||
|
||||
```bash
|
||||
ng serve --open
|
||||
```
|
||||
|
||||
The application will open automatically in your default browser at:
|
||||
|
||||
```
|
||||
http://localhost:4200/
|
||||
```
|
||||
Reference in New Issue
Block a user