Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli #8

Open
defji opened this issue Jun 16, 2017 · 1 comment
Open

cli #8

defji opened this issue Jun 16, 2017 · 1 comment

Comments

@defji
Copy link

defji commented Jun 16, 2017

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

@ChadESmith42
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants