Skip to main content

Configuration

@/router
export type Meta = {
title?: string;
description?: string;

layout?: Layouts;
authedOnly?: boolean;
acl?:
| {
action?: Actions;
subject?: Subjects;
}
| false;
};
import type { Meta } from '@/router';

export type NavigationEntry = {
name: string;
children?: NavigationEntry[];
path?: Path;
acl?: Meta['acl'];
icon?: JSX.Element;
heading?: string;
};

export type Navigation = NavigationEntry[];

Branding

export type Brand = {
name: string;
logo: string;
};

API

import type { CreateAxiosDefaults } from 'axios';

export type API = {
axios?: CreateAxiosDefaults;
enableMocking?: boolean;
};
tip

Read more about Access Control List

Read more about Pages Router

Read more about Configuration usage