mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Greatly reduced module imports hierarchy
- it is no longer needed manually importing numerous modules as CoreModule re-exports them
This commit is contained in:
@@ -17,8 +17,6 @@
|
||||
|
||||
import { NgModule, Component } from '@angular/core';
|
||||
import { BrowserModule } from '@angular/platform-browser';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
import { TranslateModule } from 'ng2-translate/ng2-translate';
|
||||
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
||||
|
||||
import { CoreModule } from 'ng2-alfresco-core';
|
||||
@@ -143,10 +141,8 @@ class DataTableDemo {
|
||||
@NgModule({
|
||||
imports: [
|
||||
BrowserModule,
|
||||
FormsModule,
|
||||
CoreModule.forRoot(),
|
||||
DataTableModule,
|
||||
TranslateModule.forRoot()
|
||||
DataTableModule
|
||||
],
|
||||
declarations: [ DataTableDemo ],
|
||||
bootstrap: [ DataTableDemo ]
|
||||
|
Reference in New Issue
Block a user