Mercurial > hg > ugly-duckling
diff src/app/ugly-material.module.ts @ 236:53ea6406d601
Generate new project with latest @angular/cli, including Angular 4.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Tue, 25 Apr 2017 20:01:09 +0100 |
parents | |
children | 663f1c61fe98 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/app/ugly-material.module.ts Tue Apr 25 20:01:09 2017 +0100 @@ -0,0 +1,30 @@ +/** + * Created by lucast on 25/04/2017. + */ +import { + MdButtonModule, MdCardModule, + MdIconModule, MdProgressBarModule, MdProgressSpinnerModule, + MdSelectModule, + MdSidenavModule, + MdToolbarModule +} from '@angular/material'; +import {NgModule} from '@angular/core'; +import {BrowserAnimationsModule} from '@angular/platform-browser/animations'; + +const importExports = [ + BrowserAnimationsModule, + MdIconModule, + MdSidenavModule, + MdToolbarModule, + MdButtonModule, + MdSelectModule, + MdProgressSpinnerModule, + MdProgressBarModule, + MdCardModule +]; + +@NgModule({ + imports: importExports, + exports: importExports, +}) +export class UglyMaterialModule { }