Generating a barrel when calling ng g component <myName>
Currently if I call ng g component user angular-cli generates user.component.ts|html|css|spec.ts files inside teh app/user directory as one would expect. However it doesn't generate a barrel - eg a file called index.ts that contains: export * from "./user.component" is there any way I can configure cli to generate barrel files?
That is not available in the angular-cli. The idea of barrels is still present, but less prominent with the introductions of NgModule for code organization. In the future the CLI will allow for custom blueprints/generation templates which you will able to tweak to your needs.
Angular CLI (ng) use single instead of double quotes
can't install angular cli on ubuntu 16.04
How to solve No 'Access-Control-Allow-Origin' header is present on the requested resource with angular 2 service written with angular-cli?
Usage of watch parameter in eject command of Angular CLI
Serving and testing a bundle after ng build
routerLink stopped working in #angular/cli
How to run Angularcli project with https
what is npm i bootstrap#next?
Angular-Cli Best way to manage notices
Puzzling angular-cli AOT error
Create Project with Angular 4 Release using angularcli
addons removed in angular-cli.json whats the replacement
angular-cli: ng serve command with config error
Augury Angular-cli When I installed the augury .Error is as follows
Teamcity for building Angular cli app
angular cli update issue on local folder