Create the first program with Angular 7
1 min readNov 16, 2018
Previously:
- For setup of Angular 7 Click Here
Now as the setup of the Angular 7 is done in the system let us build out the first program by following these steps.
- Create a folder for the application
- Open the folder in the CMD (Command Prompt)
- Now enter the command below to create program “demo-app”
ng new demo-app
- During this process, the system will prompt to select these
- Would you like to add Angular routing? Yes or No
- Which stylesheet format would you like to use? CSS, SCSS, SASS or LESS etc.
- Now do
cd demo-app
- Now let us run the program just created using above command
ng serve -o
- The above command will perform the build, run on the server and open your default browser with the program created at http://localhost:4200
Hope you got the result as I did.