Angular (web framework): Difference between revisions
Line 13: | Line 13: | ||
===Components=== | ===Components=== | ||
<pre> | |||
ng generate component <name> | |||
</pre> | |||
Components are the building blocks of Angular. | Components are the building blocks of Angular. | ||
Each component consists of a HTML block and an associated JS class. | Each component consists of a HTML block and an associated JS class. |