angular2-jwt-authentication-example
angular2-jwt-authentication-example copied to clipboard
cli
How to add angular-cli to this project? (sorry, i'm noob)
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.