Setting up Angular project

Install the Angular CLI

Angular CLI is use to create projects, generate application and library code, and perform a variety of ongoing development tasks such as testing, bundling, and deployment.

To install the Angular CLI, open a terminal …


This content originally appeared on DEV Community and was authored by queencykoh

Install the Angular CLI

Angular CLI is use to create projects, generate application and library code, and perform a variety of ongoing development tasks such as testing, bundling, and deployment.

To install the Angular CLI, open a terminal window and run the following command:

npm install -g @angular/cli

Create an initial starter application

Run the CLI command ng new and provide the name of the project

ng new budgetarian-app

It will prompt for information about features to include in the initial app. Simply accept the defaults.

Run the application

Go to the folder and run ng serve

cd budgetarian-app
ng serve

ng serve command will build the app and starts the development server

Open browser on http://localhost:4200/


This content originally appeared on DEV Community and was authored by queencykoh


Print Share Comment Cite Upload Translate Updates
APA

queencykoh | Sciencx (2021-04-18T02:23:02+00:00) Setting up Angular project. Retrieved from https://www.scien.cx/2021/04/18/setting-up-angular-project/

MLA
" » Setting up Angular project." queencykoh | Sciencx - Sunday April 18, 2021, https://www.scien.cx/2021/04/18/setting-up-angular-project/
HARVARD
queencykoh | Sciencx Sunday April 18, 2021 » Setting up Angular project., viewed ,<https://www.scien.cx/2021/04/18/setting-up-angular-project/>
VANCOUVER
queencykoh | Sciencx - » Setting up Angular project. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2021/04/18/setting-up-angular-project/
CHICAGO
" » Setting up Angular project." queencykoh | Sciencx - Accessed . https://www.scien.cx/2021/04/18/setting-up-angular-project/
IEEE
" » Setting up Angular project." queencykoh | Sciencx [Online]. Available: https://www.scien.cx/2021/04/18/setting-up-angular-project/. [Accessed: ]
rf:citation
» Setting up Angular project | queencykoh | Sciencx | https://www.scien.cx/2021/04/18/setting-up-angular-project/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.