angular2-jwt-authentication-example icon indicating copy to clipboard operation
angular2-jwt-authentication-example copied to clipboard

cli

Open defji opened this issue 8 years ago • 1 comments

How to add angular-cli to this project? (sorry, i'm noob)

defji avatar Jun 16 '17 06:06 defji

You can't directly add CLI from the terminal. However ...

Open your terminal. Navigate to the root folder that contains the application. Create a new Angular app, using the CLI: ng new angular8-jwt-authentication-example Follow the prompts. (Add routing, use CSS since the app is already css.) Copy all of the files in the old App folder into the new App folder.

Minor cleanup is to ensure the angular.json file has the correct references for styling/themes and dependencies.

Hope this helps!

I may be doing a PR for an Angular 8 update soon.

ChadESmith42 avatar Aug 20 '19 17:08 ChadESmith42