744 B
744 B
Examples
Simple Application
Create an application named my-app:
nx g @nx/angular:application apps/my-app
Specify style extension
Create an application named my-app in the my-dir directory and use scss for styles:
nx g @nx/angular:app my-dir/my-app --style=scss
Single File Components application
Create an application with Single File Components (inline styles and inline templates):
nx g @nx/angular:app apps/my-app --inlineStyle --inlineTemplate
Set custom prefix and tags
Set the prefix to apply to generated selectors and add tags to the application (used for linting).
nx g @nx/angular:app apps/my-app --prefix=admin --tags=scope:admin,type:ui