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

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/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.