03. Creating Angular project using CLI

3 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
This is a free item
$0.00
د.إ0.00
Kz0.00
ARS$0.00
A$0.00
৳0.00
Лв0.00
Bs0.00
B$0.00
P0.00
CA$0.00
CHF 0.00
CLP$0.00
CN¥0.00
COP$0.00
₡0.00
Kč0.00
DKK kr0.00
RD$0.00
DA0.00
E£0.00
ብር0.00
€0.00
FJ$0.00
£0.00
Q0.00
GY$0.00
HK$0.00
L0.00
Ft0.00
₪0.00
₹0.00
ISK kr0.00
¥0.00
KSh0.00
₩0.00
DH0.00
L0.00
ден0.00
MOP$0.00
MX$0.00
RM0.00
N$0.00
₦0.00
C$0.00
NOK kr0.00
रु0.00
NZ$0.00
S/0.00
K0.00
₱0.00
₨0.00
zł0.00
₲0.00
L0.00
QR0.00
SAR0.00
SEK kr0.00
S$0.00
฿0.00
₺0.00
$U0.00
R0.00
ZK0.00
Already have an account? Log In

Transcript

In the session, let us learn how to create an Angular project using Angular CLA. Already we have installed Angular CLA globally. Angular CLA has got few commands with the help of which we can create our Angular project. The command to create an Angular project is Youngji. Space new. Have a look over here Yunji space new space project project name.

Once you do this command, automatically, an Angular project will be created with a default module and one particular component. For the angular version, you can navigate to the project folder and type the command end space hyphen v. This will give the angular version and the command line version. Now the project is ready how to run the angular project for running the angular project. You have to just use PNG space, so automatically the application We'll be started in the port number 4200. If you want the browser to be opened automatically, then you can give Angie space double H and open. Now, we will try this out.

Let me go back to command prompt. I am in the command prompt. I am in Angular demos folder within which I am going to create my Angular project. Already we have got Angular CLA installed to check in for the version of Angular CMS. It has Changi space hyphen v. The version that I have installed as 1.7 point three. Now, let me create a new project EMG space new space, my hyphen project the project is getting created now.

You can now see here the project is created. Now let me know just navigate to that particular project folder cd space my hyphen project. I am inside this my project folder. Now, let me check in for the version and the space hyphen v. You can see the angular CLA version is 1.7 point three and angular version is 5.2. and few other modules water as needed for working with Angular are also imported and added to this Angular application. Now, how to run this is the end stage, double life and open dot applica application will be opened automatically in port number 4200. Now my browser is also getting open to this is the final output the application has opened automatically in port number 4200.

In the next session, let us discuss about this project in detail, which has created an Angular demos folder. Thank you

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.