diff --git a/src/module.ts b/src/module.ts index 89191b50e1..4e995259e1 100644 --- a/src/module.ts +++ b/src/module.ts @@ -1,7 +1,7 @@ /** * Import Angular */ -import { ANALYZE_FOR_ENTRY_COMPONENTS, APP_INITIALIZER, ComponentFactoryResolver, Inject, Injector, ModuleWithProviders, NgModule, NgZone, Optional } from '@angular/core'; +import { ANALYZE_FOR_ENTRY_COMPONENTS, APP_INITIALIZER, ComponentFactoryResolver, Inject, Injector, ModuleWithProviders, NgModule, NgZone, Optional, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; import { APP_BASE_HREF, Location, LocationStrategy, HashLocationStrategy, PathLocationStrategy, PlatformLocation } from '@angular/common'; import { DOCUMENT, HAMMER_GESTURE_CONFIG } from '@angular/platform-browser'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; @@ -365,7 +365,8 @@ import { VirtualScroll } from './components/virtual-scroll/virtual-scroll'; PopoverCmp, SelectPopover, ToastCmp - ] + ], + schemas: [CUSTOM_ELEMENTS_SCHEMA] }) export class IonicModule {