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

Member

by matilde , in category: Technology , 3 years 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 , 3 years 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.