Skip to content

Commit 01e1054

Browse files
committed
fix(client): fix upgrade stuff
1 parent b1fe7cf commit 01e1054

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Diff for: templates/app/_package.json

+1-3
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@
6363
<%#"@angular/material": "^2.0.0-alpha.10",%>
6464
"@angular/platform-browser": "^2.3.0",
6565
"@angular/platform-browser-dynamic": "^2.3.0",
66-
<% if(filters.ngroute) { %>
67-
"@angular/router": "^3.3.0",<% } %>
66+
"@angular/router": "^3.4.7",
6867
"@angularclass/hmr": "^1.2.1",
6968
"angular2-universal": "2.1.0-rc.1",
7069
"angular2-jwt": "^0.1.24",
@@ -96,7 +95,6 @@
9695
"babel-core": "^6.6.5",
9796
"babel-eslint": "^6.0.4",
9897
"babel-register": "^6.16.0",
99-
"browser-sync": "^2.8.0",
10098
"bs-fullscreen-message": "^1.0.0",
10199
<%_ if(filters.flow) { -%>
102100
"flow-bin": "^0.31.0",

Diff for: templates/app/client/app/account(auth)/account.module.js

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { NgModule } from '@angular/core';
22
import { FormsModule } from '@angular/forms';
3+
import { BrowserModule } from '@angular/platform-browser';
34
<%_ if (filters.uirouter) { -%>
45
import { UIRouterModule } from 'ui-router-ng2';<% } %>
56
<%_ if (filters.ngroute) { -%><% } %>
@@ -15,6 +16,7 @@ import { SettingsComponent } from './settings/settings.component';
1516
@NgModule({
1617
imports: [
1718
FormsModule,
19+
BrowserModule,
1820
<%_ if (filters.uirouter) { -%>
1921
UIRouterModule.forChild({
2022
states: STATES,

Diff for: templates/app/client/app/main/main.module.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { UIRouterModule } from 'ui-router-ng2';<% } %>
66
<%_ if(filters.ngroute) { %>
77
import { RouterModule, Routes } from '@angular/router';<% } %>
88
<%_ if(filters.uibootstrap) { %>
9-
import { TooltipModule } from 'ng2-bootstrap/ng2-bootstrap';<% } %>
9+
import { TooltipModule } from 'ng2-bootstrap';<% } %>
1010

1111
import { MainComponent } from './main.component';
1212
<%_ if(filters.socketio) { -%>
@@ -32,7 +32,7 @@ export const STATES = [
3232
states: STATES,
3333
}),<% } %>
3434
<%_ if(filters.uibootstrap) { %>
35-
TooltipModule,<% } %>
35+
TooltipModule.forRoot(),<% } %>
3636
],
3737
declarations: [
3838
MainComponent,

Diff for: templates/app/client/components/directives.module.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { NgModule } from '@angular/core';
22
import { CommonModule } from '@angular/common';
33
import { UIRouterModule } from 'ui-router-ng2';
4-
import { CollapseModule } from 'ng2-bootstrap/ng2-bootstrap';
4+
import { CollapseModule } from 'ng2-bootstrap';
55

66
import { AuthModule } from './auth/auth.module';
77

0 commit comments

Comments
 (0)