-
Notifications
You must be signed in to change notification settings - Fork 8
First Angular Application
Md. Shohel Rana edited this page Apr 22, 2018
·
7 revisions
Create a new folder to your computer derive. In windows, open a terminal window by pressing shift key plus mouse right button into this folder and write the following command.
ng new our-app
Please be patience, It takes time to set up a new project; most of it is spent installing npm packages.
Go to the project directory then open a terminal window and write the following command for launch the server.
cd our-app
ng serve --open
You can open your application by using the --open
(or just -o
) option. Both command will automatically open your browser on http://localhost:4200/ or directly copy the link to browser address bar and see the application interface.
Your app look like this.