What an Angular 5 component made of ? How do you generate a new component?

Member

matilde

by matilde , in category: Technology , 2 months ago

What an Angular 5 component made of ? How do you generate a new component?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by pink , 2 months ago

Angular5 component is made of a Component decorator and a component definition of a class. ng generate component component_name command is used to generate a component in Angular5.