Home >>Angular8 Tutorial >Angular8 First App
Let's see how to create an application that's Angular 8.
Syntax:
ng new app_name
For example: We'll build an app here called "angular8firstapp"
ng new angular8firstapp
You can see that they are creating a tab. This is your first Angular 8 app ever created.
Open this folder and you will see the some subfolders.
Here, the project 's main folder is src. Open the src folder, and see other subfolders.
The root of your Angular 8 app is this App folder. Open this folder and you'll see some files like .ts, html , and css.
Angular 7 App files are given below which are mainly used in your project:
To run your Angular 7 app, you must have an IDE such as Visual Studio Code IDE, or JetBrains WebStorm.
VS Code is lightweight and easy to set up, with a wide range of built-in code editing, formatting, and refactoring features. Utilization is free. It also provides a huge number of extensions which will increase your productivity considerably.
VS Code is available for download from here: https:/code.visualstudio.com
JetBrains WebStorm is also a fantastic IDE for developing Angular 7 apps. It's fast, attractive and software very easy to use, but it's not free to use. You need to buy it later, it only provides a 30-day trial period for free.
Jetbrains Webstorm can be downloaded from here:
https:/www.jetbrains.com/webstorm/download/#section=windows
Here, we use VS Code IDE:
In the VS Code IDE, you can see that your project is open. You can also make changes to the.ts and html files to change the performance accordingly.
Open your node.js command prompt and use the cd command to go into your project, then run the ng serve command to compile and run your app.
ng serve
Open your browser and go to local host at: http://localhost:4200/.