simple example
This commit is contained in:
@@ -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',
|
||||
}
|
||||
]
|
||||
@@ -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;
|
||||
Reference in New Issue
Block a user