diff options
Diffstat (limited to 'client/src/main.ts')
-rw-r--r-- | client/src/main.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/main.ts b/client/src/main.ts index 76b3f498a..f9c1d50b8 100644 --- a/client/src/main.ts +++ b/client/src/main.ts | |||
@@ -1,10 +1,12 @@ | |||
1 | import { enableProdMode } from '@angular/core'; | 1 | import { enableProdMode } from '@angular/core'; |
2 | import { bootstrap } from '@angular/platform-browser-dynamic'; | 2 | import { bootstrap } from '@angular/platform-browser-dynamic'; |
3 | import { provideRouter } from '@angular/router'; | ||
3 | 4 | ||
4 | import { AppComponent } from './app/app.component'; | 5 | import { AppComponent } from './app/app.component'; |
6 | import { routes } from './app/app.routes'; | ||
5 | 7 | ||
6 | if (process.env.ENV === 'production') { | 8 | if (process.env.ENV === 'production') { |
7 | enableProdMode(); | 9 | enableProdMode(); |
8 | } | 10 | } |
9 | 11 | ||
10 | bootstrap(AppComponent); | 12 | bootstrap(AppComponent, [ provideRouter(routes) ]); |