frontend-plugin-api: fix SubPageBlueprint path docs

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2026-02-17 12:56:29 +01:00
parent b7ae1243e0
commit 4308cb9fe5
@@ -32,7 +32,7 @@ import { ExtensionBoundary } from '../components';
* attachTo: { id: 'page:my-plugin', input: 'pages' },
* name: 'overview',
* params: {
* path: '/overview',
* path: 'overview',
* title: 'Overview',
* routeRef: overviewRouteRef,
* loader: () => import('./components/Overview').then(m => <m.Overview />),
@@ -59,9 +59,9 @@ export const SubPageBlueprint = createExtensionBlueprint({
*factory(
params: {
/**
* The path for this sub-page, relative to the parent page.
* Should start with '/'.
* @example '/overview', '/settings', '/details'
* The path for this sub-page, relative to the parent page. Must **not** start with '/'.
*
* @example 'overview', 'settings', 'details'
*/
path: string;
/**