Source: https://stackoverflow.com/questions/40649799/create-component-to-specific-module-with-angular-cli
To create a component as part of a module you should
ng g module newModule
to generate a module,cd newModule
to change directory into thenewModule
folderng g component newComponent
to create a component as a child of the module.
Không có nhận xét nào:
Đăng nhận xét