Structure of the working folder of the Angular project
Let's now analyze the structure of the src
folder, where the main work will be done. Here are the folders and files we need (the rest is service and not needed yet):
- /src/
- /app/
- /assets/
- index.html
- styles.css
- favicon.ico
The app
folder will contain your components. Initially, by default, there will be a main component named App
. We will add other components there later.
In the assets
folder you can place various resources of our application. Resources are understood to be images and similar things.
The file index.html
is the main layout of the site with the layout. Components are connected to this layout in a special way in the specified places.
You can place general CSS styles for the site in the styles.css
file.
The favicon.ico
file stores your site's favicon. This is the image that appears on the site tab before its name.
In the next lessons we will talk more about these files and folders.