Return to site

Angular tip: CLI command shortcuts

· fullstack

👉Create new project:

ng n projectName

👉Generate new module:

ng g m moduleName

👉Generate new component:

ng g c componentName

👉Generate new pipe:

ng g p pipeName

👉Generate new directive:

ng g d directiveName

👉Generate new guard:

ng g g guardName

👉Generate new service:

ng g s serviceName


All Posts

Almost done…

We just sent you an email. Please click the link in the email to confirm your subscription!