Created
November 16, 2023 18:27
-
-
Save teomanofficial/401557c6a9fd5db790b10639820841aa to your computer and use it in GitHub Desktop.
Angular NGXS - ProductsModule
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { NgModule } from '@angular/core'; | |
import { CommonModule } from '@angular/common'; | |
import { NgxsModule } from "@ngxs/store"; | |
import { ProductsComponent } from './products.component'; | |
import { ProductsRoutingModule } from './products-routing.module'; | |
import { ProductsState } from "@store/products/state/products.state"; | |
@NgModule({ | |
declarations: [ | |
ProductsComponent | |
], | |
imports: [ | |
CommonModule, | |
ProductsRoutingModule, | |
NgxsModule.forFeature([ProductsState]) | |
] | |
}) | |
export class ProductsModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment