Last active
January 23, 2025 10:25
-
-
Save rockyahmed/0398e575abcf45141a298abb72dcfa24 to your computer and use it in GitHub Desktop.
Angular Command Language
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
=================================== | |
Node Delete and new node install | |
=================================== | |
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash | |
nvm install 14.15.4 | |
nvm alias default 14.15.4 | |
=================================== | |
Git Build File To Server | |
=================================== | |
ng build --prod | |
http-server -p 8081 -c-1 dist/smartlotto-admin | |
=================================== | |
New re Update branch file | |
=================================== | |
git checkout branch name | |
git pull origin branch name | |
optional code If you want to reset then type this | |
git reset --hard | |
=================================== | |
Pages Component Create | |
=================================== | |
ng g c pages/settings/club-detail/club-home | |
=================================== | |
Routing With Modules | |
=================================== | |
ng g m pages/lotto --routing | |
=================================== | |
Pages Create full route modules | |
with component | |
=================================== | |
ng g m pages/settings/lotto --route lotto --module pages/settings/settings.module | |
=================================== | |
Pages Create full route modules | |
with component with ngmodule declarations | |
=================================== | |
ng g m pages/settings/lotto/user-journey --route user-journey --module pages/settings/lotto/lotto.module | |
=================================== | |
Commit back to copy previous file | |
=================================== | |
git reset --hard HEAD~2 | |
=================================== | |
Angular Class calling in css | |
=================================== | |
:host ::ng-deep .class | |
=================================== | |
Server Run | |
=================================== | |
gulp serve:player | |
=================================== | |
Disabled sucrity chrome browser tab | |
=================================== | |
start chrome --user-data-dir="%TEMP%\chrome_dev_test" --disable-web-security |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment