- Please open CMD and type ng new add-two-numbers. (How to create an Application)
- After the installation-
- Open Visual Code/Sublime etc..
- Open the project in IDE
Folder Structure (Default) |
HTML page for Add-Two-Number Project |
Component for Add-Two-Number Project |
- Once everything is done
- Open CMD
- type ng build
- If build is successfull, then type ng serve. you will get the below result.(How to Run an Application)
Running application in browser |
Congratulations!!
Now you successfully completed your add two number project.
Click Here to download this project .
After download this project-
- Go to the folder.
- Open CMD and type npm install.
- Once it done, Then run ng build, ng serve.
- Open http://localhost:4200 in your browser.
0 comments: