ng update @angular/cli --migrate-only --from=1.7.4 ng update @angular/core yarn add ng-packagr yarn add @angular/material yarn add core-js yarn add @angular/flex-layout yarn add lodash yarn add material-design-icons yarn add roboto-fontface yarn
npm install @bi8/am-data-table
npm i @bi8/am-data-table
`
AmDataTable depends on/uses `@bi8/am-storage` and `@bi8/am-logger`
Configuration
Import the AmDataTableModule
`typescript
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { AmDataTable } from "@bi8/am-data-table";
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
AmDataTableModule,
],
entryComponents: [],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
`
Build
Run npm i to install all the dependencies. To create the bundle/distribution, run npm run packagr`