Skip to content

Instantly share code, notes, and snippets.

@jecfish
Created September 5, 2017 12:43
Show Gist options
  • Save jecfish/85a1f83359d099c2abc5c62bab387107 to your computer and use it in GitHub Desktop.
Save jecfish/85a1f83359d099c2abc5c62bab387107 to your computer and use it in GitHub Desktop.
// app.component.ts
import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core'; // add this line
// ...
@NgModule({
declarations: [
// ...
schemas: [CUSTOM_ELEMENTS_SCHEMA], // add this line
})
export class AppModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment