chore: import upstream snapshot with attribution
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
## Examples
|
||||
|
||||
##### Simple Application
|
||||
|
||||
Create an application named `my-app`:
|
||||
|
||||
```bash
|
||||
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:
|
||||
|
||||
```bash
|
||||
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):
|
||||
|
||||
```bash
|
||||
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).
|
||||
|
||||
```bash
|
||||
nx g @nx/angular:app apps/my-app --prefix=admin --tags=scope:admin,type:ui
|
||||
```
|
||||
Reference in New Issue
Block a user