From 0629423ce335137ce77d1ee8fe30fc0eee36d83b Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 8 Jul 2016 17:15:14 +0200 Subject: Client: Update to Angular RC4 --- client/src/main.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'client/src/main.ts') 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 @@ import { enableProdMode } from '@angular/core'; import { bootstrap } from '@angular/platform-browser-dynamic'; +import { provideRouter } from '@angular/router'; import { AppComponent } from './app/app.component'; +import { routes } from './app/app.routes'; if (process.env.ENV === 'production') { enableProdMode(); } -bootstrap(AppComponent); +bootstrap(AppComponent, [ provideRouter(routes) ]); -- cgit v1.2.3