Skip to content

Instantly share code, notes, and snippets.

@sebastienlevert
Created December 5, 2017 14:30
Show Gist options
  • Save sebastienlevert/65ff9b6b5738fa46e0cf553bc7e28a55 to your computer and use it in GitHub Desktop.
Save sebastienlevert/65ff9b6b5738fa46e0cf553bc7e28a55 to your computer and use it in GitHub Desktop.
import { AngularMaterial } from './angular-material';
import { NgModule } from '@angular/core';
import { MatToolbarModule } from '@angular/material';
import { BrowserModule } from '@angular/platform-browser';
import { CommonModule } from '@angular/common';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { Environment, EnvironmentType } from '@microsoft/sp-core-library';
/**
* Module that intializes our Angular Element
* Includes Angular Material so uses Zone.js
*/
@NgModule({
imports: [
BrowserModule,
BrowserAnimationsModule,
MatToolbarModule
],
declarations: [AngularMaterial],
entryComponents: [AngularMaterial]
})
export class AngularMaterialModule {
ngDoBootstrap(){}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment