Files
alfresco-ng2-components/lib/core/shell
Michal Kinas 002c5b4bf7 [MNT-25423] Prevent minimizing menu again when previous and current route contain minimize URL (#11345)
* [MNT-25423] Prevent minimizing menu again when previous and current route contain minimize URL

* [MNT-25423] Remove unnecessary spy
2025-11-14 16:14:38 +01:00
..

@alfresco/adf-core/shell

Namespace: @alfresco/adf-core/shell.

This module provides the main layout for the application, allowing you to define routes and guards for your application shell.

Shell

Passed routes are going to be attached to shell main route.

import { provideShell } from '@alfresco/adf-core/shell';

provideShell(
    {
        routes: [],
        appService: AppService,
        authGuard: AuthGuard,
        navBar: {
            minWidth: 0,
            maxWidth: 100
        }
    }
)

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.