Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Commit 6bd8665

Browse files
committed
🚧 wip
1 parent c08f055 commit 6bd8665

File tree

5 files changed

+34
-3
lines changed

5 files changed

+34
-3
lines changed

.env.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
APP_NAME="Cosna Cpanel"
22
APP_DEBUG=true
3-
PROD=false
43
APP_URL=https://cpanel.cosna-afrique.com
54
API_URL=https://api.cosna-afrique.com
65
API_VERSION=v2

package-lock.json

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"@angular/platform-browser-dynamic": "~13.3.0",
2020
"@angular/router": "~13.3.0",
2121
"@ngrx/store": "^13.2.0",
22+
"@ngrx/store-devtools": "^13.2.0",
2223
"@tailwindcss/aspect-ratio": "^0.4.1",
2324
"@tailwindcss/forms": "^0.5.2",
2425
"@tailwindcss/line-clamp": "^0.4.1",
@@ -46,4 +47,4 @@
4647
"typescript": "~4.6.2",
4748
"yargs": "^17.5.1"
4849
}
49-
}
50+
}

src/app/app.module.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
import { NgModule } from '@angular/core';
22
import { BrowserModule } from '@angular/platform-browser';
33
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
4-
import { StoreModule } from '@ngrx/store';
54
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
5+
import { StoreModule } from '@ngrx/store';
6+
import { StoreDevtoolsModule } from '@ngrx/store-devtools';
67

8+
import { environment } from '../environments/environment';
79
import { AppRoutingModule } from './core/routes/app-routing.module';
810
import { AppComponent } from './core/components/app/app.component';
911

@@ -18,6 +20,7 @@ import { AppComponent } from './core/components/app/app.component';
1820
FormsModule,
1921
ReactiveFormsModule,
2022
StoreModule.forRoot({}, {}),
23+
StoreDevtoolsModule.instrument({ maxAge: 25, logOnly: environment.production }),
2124
],
2225
providers: [],
2326
bootstrap: [AppComponent],

src/app/modules/index.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { AuthenticationModule } from './authentication/authentication.module';
2+
import { DashboardModule } from './dashboard/dashboard.module';
3+
4+
export const MODULES = [
5+
AuthenticationModule,
6+
DashboardModule,
7+
];

0 commit comments

Comments
 (0)