Last active
August 27, 2019 18:53
-
-
Save nemrosim/cdbd08f479e84d868eb6fe8b2f10d559 to your computer and use it in GitHub Desktop.
[ANGULAR CLI] commands for cli #Angular #CLI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// vim: syntax=javascript | |
// angular, create new project named "doomsday" | |
ng new doomsday | |
// angular, generate component | |
ng g c welcome-component | |
ng g g - generate guard | |
ng g m products/product --flat -m app | |
// angular, generate module in shared folder, with "shared" name, do not create another folder, import to products | |
ng g m shared/shared --flat -m products/product.module |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment