diff --git a/src/Umbraco.Web.UI.Client/examples/workspace-context-counter/manifests.ts b/src/Umbraco.Web.UI.Client/examples/workspace-context-counter/manifests.ts new file mode 100644 index 0000000000..19d1700461 --- /dev/null +++ b/src/Umbraco.Web.UI.Client/examples/workspace-context-counter/manifests.ts @@ -0,0 +1,10 @@ +import type { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry'; + +export const manifests: ManifestTypes = [ + { + type: 'workspaceContext', + name: 'workspaceContextCounter', + alias: 'example.workspaceCounter.counter', + js: 'workspace-context-counter.js', + } +] diff --git a/src/Umbraco.Web.UI.Client/examples/workspace-context-counter/workspace-context-counter.ts b/src/Umbraco.Web.UI.Client/examples/workspace-context-counter/workspace-context-counter.ts new file mode 100644 index 0000000000..975ffb87d9 --- /dev/null +++ b/src/Umbraco.Web.UI.Client/examples/workspace-context-counter/workspace-context-counter.ts @@ -0,0 +1,12 @@ +import { UmbBaseController, type UmbControllerHost } from '@umbraco-cms/backoffice/controller-api'; + +export class WorkspaceContextCounter extends UmbBaseController { + + constructor(host: UmbControllerHost) { + super(); + + console.log("HELLOOOOO WORLLLDDD") + } +} + +export const api = WorkspaceContextCounter;