Skip to content

Commit

Permalink
fix: enable ocxSrc by importing PortalCoreModule.forMicrofrontend() (#99
Browse files Browse the repository at this point in the history
)

* fix: update libs, edit webpackconfig

* fix: enable ocxSrc

---------

Co-authored-by: kim.tran <[email protected]>
  • Loading branch information
KimFFVII and kim.tran authored Apr 9, 2024
1 parent ad52798 commit c9556d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/shared/shared.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ import {
AppStateService,
ConfigurationService,
PortalDialogService,
PortalApiConfiguration
PortalApiConfiguration,
PortalCoreModule
} from '@onecx/portal-integration-angular'

import { Configuration } from 'src/app/shared/generated'
Expand All @@ -41,6 +42,7 @@ export function apiConfigProvider(configService: ConfigurationService, appStateS
@NgModule({
declarations: [ImageContainerComponent],
imports: [
PortalCoreModule.forMicroFrontend(),
AutoCompleteModule,
CommonModule,
ConfirmDialogModule,
Expand Down

0 comments on commit c9556d7

Please sign in to comment.