Templating and styling

We've already mentioned something about templating and styling in the last few paragraphs of the Components section. Now that we have a small project available to us—the one that we created with the CLI—we can see what this looks like in code. Open your Angular project in the IDE, and open the app.component.ts file. Lines 5 and 6 in this app component file contain the references to its associated template (the .html file), and its style file (.scss), respectively. The following is a screenshot of the open project in my IDE, with the app.component.ts file open:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.38.121