shared-libs.module.ts 791B

123456789101112131415161718192021
  1. import { NgModule } from '@angular/core';
  2. import { FormsModule } from '@angular/forms';
  3. import { CommonModule } from '@angular/common';
  4. import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
  5. import { NgJhipsterModule } from 'ng-jhipster';
  6. import { InfiniteScrollModule } from 'ngx-infinite-scroll';
  7. import { CookieModule } from 'ngx-cookie';
  8. import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
  9. @NgModule({
  10. imports: [NgbModule.forRoot(), InfiniteScrollModule, CookieModule.forRoot(), FontAwesomeModule],
  11. exports: [FormsModule, CommonModule, NgbModule, NgJhipsterModule, InfiniteScrollModule, FontAwesomeModule]
  12. })
  13. export class ZipConnectSharedLibsModule {
  14. static forRoot() {
  15. return {
  16. ngModule: ZipConnectSharedLibsModule
  17. };
  18. }
  19. }