Created the base design
This commit is contained in:
18
src/app/app-store.module.ts
Normal file
18
src/app/app-store.module.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
import { StoreRouterConnectingModule } from '@ngrx/router-store';
|
||||
import { StoreModule } from '@ngrx/store';
|
||||
import { gotobedReducer } from './store/gotobed.reducer';
|
||||
const routes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
loadChildren: () => import('./menu/menu.module').then(page => page.MenuPageModule)
|
||||
}
|
||||
];
|
||||
@NgModule({
|
||||
imports: [
|
||||
StoreModule.forFeature('Gotobed', gotobedReducer), StoreRouterConnectingModule.forRoot(),
|
||||
],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
export class AppStoreModule {}
|
||||
Reference in New Issue
Block a user