How to add class to to angular application using angular-cli command: 'ng generate class' without receiving error -
i'm referenceing https://www.sitepoint.com/ultimate-angular-cli-reference/, says, to add class called 'userprofile', run:
$ ng generate class user-profile
when run command,
installing class unable find apps in `angular-cli.json`
based on this source code got error because .angular-cli.json not containg apps field. generate new sample-app , compare its.angular-cli.json one.
Comments
Post a Comment