docs(angular): fix missing image in setup mfe guide (#8816)
This commit is contained in:
parent
2cf06140e6
commit
c48062007e
BIN
docs/shared/guides/login-app.png
Normal file
BIN
docs/shared/guides/login-app.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.0 KiB |
@ -347,7 +347,7 @@ nx run login:serve
|
|||||||
|
|
||||||
We can see if we navigate a browser to `http://localhost:4201` that we see the login form rendered:
|
We can see if we navigate a browser to `http://localhost:4201` that we see the login form rendered:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
If we type in the correct username and password _(demo, demo)_, then we can also see the user gets authenticated!
|
If we type in the correct username and password _(demo, demo)_, then we can also see the user gets authenticated!
|
||||||
|
|
||||||
|
|||||||
@ -26,3 +26,13 @@ Show what will be generated without writing to disk:
|
|||||||
```bash
|
```bash
|
||||||
nx g karma ... --dry-run
|
nx g karma ... --dry-run
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Options
|
||||||
|
|
||||||
|
### skipPackageJson
|
||||||
|
|
||||||
|
Default: `false`
|
||||||
|
|
||||||
|
Type: `boolean`
|
||||||
|
|
||||||
|
Do not add dependencies to `package.json`.
|
||||||
|
|||||||
@ -74,3 +74,11 @@ Generate a routing setup to allow a host application to route to the remote appl
|
|||||||
Type: `boolean`
|
Type: `boolean`
|
||||||
|
|
||||||
Skip formatting the workspace after the generator completes.
|
Skip formatting the workspace after the generator completes.
|
||||||
|
|
||||||
|
### skipPackageJson
|
||||||
|
|
||||||
|
Default: `false`
|
||||||
|
|
||||||
|
Type: `boolean`
|
||||||
|
|
||||||
|
Do not add dependencies to `package.json`.
|
||||||
|
|||||||
@ -49,6 +49,14 @@ Type: `boolean`
|
|||||||
|
|
||||||
Skips formatting the workspace after the generator completes.
|
Skips formatting the workspace after the generator completes.
|
||||||
|
|
||||||
|
### skipPackageJson
|
||||||
|
|
||||||
|
Default: `false`
|
||||||
|
|
||||||
|
Type: `boolean`
|
||||||
|
|
||||||
|
Do not add dependencies to `package.json`.
|
||||||
|
|
||||||
### stylesEntryPoint
|
### stylesEntryPoint
|
||||||
|
|
||||||
Type: `string`
|
Type: `string`
|
||||||
|
|||||||
@ -87,6 +87,14 @@ Type: `boolean`
|
|||||||
|
|
||||||
Skip formatting files
|
Skip formatting files
|
||||||
|
|
||||||
|
### skipPackageJson
|
||||||
|
|
||||||
|
Default: `false`
|
||||||
|
|
||||||
|
Type: `boolean`
|
||||||
|
|
||||||
|
Do not add dependencies to `package.json`.
|
||||||
|
|
||||||
### standaloneConfig
|
### standaloneConfig
|
||||||
|
|
||||||
Type: `boolean`
|
Type: `boolean`
|
||||||
|
|||||||
@ -2,9 +2,9 @@
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications, and libraries within an Nx workspace. It provides:
|
The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications and libraries within an Nx workspace. It provides:
|
||||||
|
|
||||||
- Integration with libraries such as Storybook, Jest, Cypress, Karma and Protractor.
|
- Integration with libraries such as Storybook, Jest, Cypress, Karma, and Protractor.
|
||||||
- Generators to help scaffold code quickly, including:
|
- Generators to help scaffold code quickly, including:
|
||||||
- Micro Frontends
|
- Micro Frontends
|
||||||
- Libraries, both internal to your codebase and publishable to npm
|
- Libraries, both internal to your codebase and publishable to npm
|
||||||
@ -41,7 +41,7 @@ By default, the application will be generated with:
|
|||||||
- Jest as the unit test runner.
|
- Jest as the unit test runner.
|
||||||
- Cypress as the E2E test runner.
|
- Cypress as the E2E test runner.
|
||||||
|
|
||||||
We can then serve, build, test, lint and run e2e tests on the application with the following commands:
|
We can then serve, build, test, lint, and run e2e tests on the application with the following commands:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
nx serve appName
|
nx serve appName
|
||||||
@ -51,7 +51,7 @@ nx lint appName
|
|||||||
nx e2e appName
|
nx e2e appName
|
||||||
```
|
```
|
||||||
|
|
||||||
### Generating an library
|
### Generating a library
|
||||||
|
|
||||||
Generating an Angular library is very similar to generating an application:
|
Generating an Angular library is very similar to generating an application:
|
||||||
|
|
||||||
@ -71,7 +71,11 @@ nx test libName
|
|||||||
nx lint libName
|
nx lint libName
|
||||||
```
|
```
|
||||||
|
|
||||||
[Read more about generating libraries, including buildable and publishable libraries.]()
|
Read more about:
|
||||||
|
|
||||||
|
- [Creating Libraries](/structure/creating-libraries)
|
||||||
|
- [Library Types](/structure/library-types)
|
||||||
|
- [Buildable and Publishable Libraries](/structure/buildable-and-publishable-libraries)
|
||||||
|
|
||||||
## More Documentation
|
## More Documentation
|
||||||
|
|
||||||
@ -80,3 +84,4 @@ nx lint libName
|
|||||||
- [Using NgRx](/guides/misc-ngrx)
|
- [Using NgRx](/guides/misc-ngrx)
|
||||||
- [Using DataPersistence](/guides/misc-data-persistence)
|
- [Using DataPersistence](/guides/misc-data-persistence)
|
||||||
- [Upgrading an AngularJS application to Angular](/guides/misc-upgrade)
|
- [Upgrading an AngularJS application to Angular](/guides/misc-upgrade)
|
||||||
|
- [Using Tailwind CSS with Angular projects](/guides/using-tailwind-css-with-angular-projects)
|
||||||
|
|||||||
BIN
nx-dev/nx-dev/public/documentation/shared/guides/login-app.png
Normal file
BIN
nx-dev/nx-dev/public/documentation/shared/guides/login-app.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.0 KiB |
@ -347,7 +347,7 @@ nx run login:serve
|
|||||||
|
|
||||||
We can see if we navigate a browser to `http://localhost:4201` that we see the login form rendered:
|
We can see if we navigate a browser to `http://localhost:4201` that we see the login form rendered:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
If we type in the correct username and password _(demo, demo)_, then we can also see the user gets authenticated!
|
If we type in the correct username and password _(demo, demo)_, then we can also see the user gets authenticated!
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user