Skip to content

Commit

Permalink
Added CUSTOM_ELEMENTS_SCHEMA schema to app module.
Browse files Browse the repository at this point in the history
  • Loading branch information
imolorhe committed May 10, 2019
1 parent 31e7cfe commit 29444bd
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { NgModule } from '@angular/core';
import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpClientModule, HttpClient } from '@angular/common/http';

Expand Down Expand Up @@ -102,6 +102,9 @@ const providers = [
}),
],
providers: providers,
bootstrap: [ AppComponent ]
bootstrap: [ AppComponent ],
schemas: [
CUSTOM_ELEMENTS_SCHEMA
]
})
export class AppModule { }

0 comments on commit 29444bd

Please sign in to comment.