add component to export in angular cli code example
Example 1: angular cli generate new module
ng generate module module-name
Example 2: ng generate component
ng g component [component name]
ng generate module module-name
ng g component [component name]