⊗jsagPmBsCS 9 of 97 menu

Angular Component Structure

The src/app folder will contain the main component, created automatically when the project is created. It will have the following file structure:

  • /src/app/
    • app.component.html
    • app.component.css
    • app.component.ts

The file app.component.html will contain the layout of our component.

The app.component.css file will contain our component styles. The file extension depends on the settings made when creating the project.

The app.component.ts file will contain the TypeScript code you write for our component's functionality.

We will look at working with these files in more detail in the following lessons.

English
AfrikaansAzərbaycanБългарскиবাংলাБеларускаяČeštinaDanskDeutschΕλληνικάEspañolEestiSuomiFrançaisहिन्दीMagyarՀայերենIndonesiaItaliano日本語ქართულიҚазақ한국어КыргызчаLietuviųLatviešuМакедонскиMelayuမြန်မာNederlandsNorskPolskiPortuguêsRomânăРусскийසිංහලSlovenčinaSlovenščinaShqipСрпскиSrpskiSvenskaKiswahiliТоҷикӣไทยTürkmenTürkçeЎзбекOʻzbekTiếng Việt
We use cookies for website operation, analytics, and personalization. Data processing is carried out in accordance with the Privacy Policy.
accept all customize decline