From 84e2691688653762f8dcfb5a0fadd6ddab2328f6 Mon Sep 17 00:00:00 2001 From: acondal Date: Wed, 19 Jun 2024 12:14:54 +0200 Subject: [PATCH] feat: migrate component & xmodule register --- .../components/experience-controls.vue | 45 ++++++++++--------- .../x-modules/experience-controls/x-module.ts | 3 ++ 2 files changed, 26 insertions(+), 22 deletions(-) diff --git a/packages/x-components/src/x-modules/experience-controls/components/experience-controls.vue b/packages/x-components/src/x-modules/experience-controls/components/experience-controls.vue index 952916008f..9ae4b77842 100644 --- a/packages/x-components/src/x-modules/experience-controls/components/experience-controls.vue +++ b/packages/x-components/src/x-modules/experience-controls/components/experience-controls.vue @@ -1,10 +1,8 @@ diff --git a/packages/x-components/src/x-modules/experience-controls/x-module.ts b/packages/x-components/src/x-modules/experience-controls/x-module.ts index 6a75f46eb1..0080f90ba5 100644 --- a/packages/x-components/src/x-modules/experience-controls/x-module.ts +++ b/packages/x-components/src/x-modules/experience-controls/x-module.ts @@ -1,4 +1,5 @@ import { XModule } from '../x-modules.types'; +import { XPlugin } from '../../plugins/index'; import { experienceControlsEmitters } from './store/emitters'; import { experienceControlsXStoreModule } from './store/module'; import { ExperienceControlsXStoreModule } from './store/types'; @@ -23,3 +24,5 @@ export const experienceControlsXModule: ExperienceControlsXModule = { storeEmitters: experienceControlsEmitters, wiring: experienceControlsWiring }; + +XPlugin.registerXModule(experienceControlsXModule);