# install
yarn global add @angular/cli
# update
yarn global upgrade @angular/cli
# ng help
ng new --help
# new project without install
ng new {name} --skip-install=true --style=scss --routing=false --prefix={app} --verbose --force=true
# with install
ng new {name} --skip-install=false --style=scss --routing=false --prefix={app} --verbose --force=true
# with yarn
ng new jsbase-admin --package-manager yarn --skip-install=false --style=scss --routing=false --prefix={app} --verbose --force=true
## Development
```bash
# new lazy load module with route eq "admin"
yarn ng g module dashboard --routing=true --route=admin --module=app/app.module
# new lazy load module of admin eg: 'users'
yarn ng g module dashboard/users --routing=true --route=users --module=app/dashboard/dashboard.module
# new component
Last active
March 8, 2022 02:49
-
-
Save misostack/24b24ec609d0df61072e138adb92b775 to your computer and use it in GitHub Desktop.
Angular Gist
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment