0.0.12 • Published 6 years ago

mdm-lib v0.0.12

Weekly downloads
48
License
-
Repository
-
Last release
6 years ago

#1 Install all dependencies:

"@angular/common": "^6.0.0-rc.0 || ^6.0.0",
"@angular/core": "^6.0.0-rc.0 || ^6.0.0",
"@angular/platform-browser": "^6.0.0-rc.0 || ^6.0.0",
"@angular/animations":  "^6.0.0-rc.0 || ^6.0.0",
"@angular/cdk":  "^6.0.1",
"@angular/material": "^6.0.1",
"@angular/material-moment-adapter": "^6.0.1",
"@angular/forms":  "^6.0.0-rc.0 || ^6.0.0",
"moment": "^2.22.1",
"ngx-bootstrap": "^3.0.1"

#2 Import all modules:

imports: [
    CommonModule,
    BrowserAnimationsModule,
    MdmSortablePagerGridModule,
    CdkTableModule,
    MatTableModule,
    MatPaginatorModule,
    MatSortModule,
    MatIconModule
    FormsModule,
    ReactiveFormsModule,
    TimepickerModule.forRoot(),
    MdmTimePickerModule,
    MatButtonModule,
    OverlayModule,
    MatFormFieldModule,
    MatInputModule,
],

#3 Import material styles in your style.scss:

@import '@angular/material/prebuilt-themes/deeppurple-amber.css';
@import 'https://fonts.googleapis.com/icon?family=Material+Icons'; // if this doesn't work download locally.

If your default style is not scss already, run below command:
    ng set defaults.styleExt scss

Rename from styles.css to styles.scss and change the reference in angular.json
0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago