reworked the shared modules
This commit is contained in:
1 parent
8b4c0792c0
commit
9fb4202640
1 file changed
+27
-5
@@ -1,10 +1,18 @@
|
|||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { CommonModule } from '@angular/common';
|
import { CommonModule } from '@angular/common';
|
||||||
import { NotificationPopupComponent } from './components/notification-popup/notification-popup.component';
|
|
||||||
import { DateFormatPipe } from './pipes/date-format/date-format.pipe';
|
|
||||||
import { MainCardComponent } from './components/cards/main-card/main-card.component';
|
|
||||||
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
||||||
import { UserCollectionsModalComponent } from './components/modals/list-selection-modal/user-collections-modal.component';
|
|
||||||
|
// * cards
|
||||||
|
import { SeasonMainCardComponent } from './cards/season-main-card/season-main-card.component';
|
||||||
|
|
||||||
|
// * modals
|
||||||
|
import { SeenModalComponent } from './components/modals/seen-modal/seen-modal.component';
|
||||||
|
|
||||||
|
// * pipes
|
||||||
|
import { DateFormatPipe } from './pipes/date-format/date-format.pipe';
|
||||||
|
|
||||||
|
// * other
|
||||||
|
import { RatingModule } from 'ngx-bootstrap/rating';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
@@ -12,6 +20,11 @@ import { UserCollectionsModalComponent } from './components/modals/list-selectio
|
|||||||
DateFormatPipe,
|
DateFormatPipe,
|
||||||
|
|
||||||
// ? components
|
// ? components
|
||||||
|
SeasonMainCardComponent,
|
||||||
|
SeenModalComponent,
|
||||||
|
|
||||||
|
// ? other imported components
|
||||||
|
|
||||||
// NotificationPopupComponent,
|
// NotificationPopupComponent,
|
||||||
// MainCardComponent,
|
// MainCardComponent,
|
||||||
// DynamicEntryListComponent,
|
// DynamicEntryListComponent,
|
||||||
@@ -20,10 +33,19 @@ import { UserCollectionsModalComponent } from './components/modals/list-selectio
|
|||||||
|
|
||||||
// ? modules
|
// ? modules
|
||||||
],
|
],
|
||||||
imports: [CommonModule, FormsModule, ReactiveFormsModule],
|
imports: [
|
||||||
|
CommonModule,
|
||||||
|
FormsModule,
|
||||||
|
ReactiveFormsModule,
|
||||||
|
|
||||||
|
RatingModule.forRoot(),
|
||||||
|
],
|
||||||
exports: [
|
exports: [
|
||||||
//NotificationPopupComponent,
|
//NotificationPopupComponent,
|
||||||
DateFormatPipe,
|
DateFormatPipe,
|
||||||
|
SeasonMainCardComponent,
|
||||||
|
SeenModalComponent,
|
||||||
|
RatingModule,
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
export class SharedModule {}
|
export class SharedModule {}
|
||||||
Reference in new issue
Block a user