Bartosz Sekuła 426cafff5e
[AAE-10533] Generic App shell for HxP applications (#8002)
* [AAE-10533] Generic App shell for HxP applications

* Clean code and add public_api for shell
2022-11-24 13:58:21 +01:00

754 B

@alfresco/adf-core/shell

Secondary entry point of @alfresco/adf-core. It can be used by importing from @alfresco/adf-core/shell.

Shell

ShellModule 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

If you would like to provide custom app guard, you can provide your own using SHELL_AUTH_TOKEN

Shell Service

In order to use shell, you need to provide SHELL_APP_SERVICE which provides necessary options for shell component to work.