[AAE-10533] Replace shell with adf-shell (#2806)

* [AAE-10533] Use shell from ADF

* Remove shell.md
This commit is contained in:
Bartosz Sekuła
2022-11-25 08:48:03 +01:00
committed by GitHub
parent 60ba8eb6ce
commit ed20971962
11 changed files with 3 additions and 520 deletions

View File

@@ -1,17 +0,0 @@
---
Title: Shell
---
# Shell
[AppShellModule](../../app/src/app/app-shell/app-shell.module.ts) is designated as a main layout for the application.
I order to attach routes to appShell, `withRoutes(routes: Routes | AppShellRoutesConfig)` method should be used.
Passed routes are going to be attached to [shell main route](../../app/src/app/app-shell/app-shell.routes.ts)
If you would like to provide custom app guard, you can provide your own using [SHELL_AUTH_TOKEN](../../app/src/app/app-shell/app-shell.routes.ts)
## Shell Service
In order to use `shell`, you need to provide `SHELL_APP_SERVICE` which provides necessary options for shell component to work.