File tree 4 files changed +6
-6
lines changed
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 63
63
<%#"@angular/material": "^2.0.0-alpha.10",%>
64
64
"@angular/platform-browser" : " ^2.3.0" ,
65
65
"@angular/platform-browser-dynamic" : " ^2.3.0" ,
66
- <% if(filters.ngroute) { %>
67
- "@angular/router" : " ^3.3.0" ,<% } %>
66
+ "@angular/router" : " ^3.4.7" ,
68
67
"@angularclass/hmr" : " ^1.2.1" ,
69
68
"angular2-universal" : " 2.1.0-rc.1" ,
70
69
"angular2-jwt" : " ^0.1.24" ,
96
95
"babel-core" : " ^6.6.5" ,
97
96
"babel-eslint" : " ^6.0.4" ,
98
97
"babel-register" : " ^6.16.0" ,
99
- "browser-sync" : " ^2.8.0" ,
100
98
"bs-fullscreen-message" : " ^1.0.0" ,
101
99
<%_ if(filters.flow) { -%>
102
100
"flow-bin" : " ^0.31.0" ,
Original file line number Diff line number Diff line change 1
1
import { NgModule } from '@angular/core' ;
2
2
import { FormsModule } from '@angular/forms' ;
3
+ import { BrowserModule } from '@angular/platform-browser' ;
3
4
< % _ if ( filters . uirouter ) { - % >
4
5
import { UIRouterModule } from 'ui-router-ng2' ; < % } % >
5
6
< % _ if ( filters . ngroute ) { - % > < % } % >
@@ -15,6 +16,7 @@ import { SettingsComponent } from './settings/settings.component';
15
16
@NgModule({
16
17
imports : [
17
18
FormsModule ,
19
+ BrowserModule ,
18
20
< % _ if ( filters . uirouter ) { - % >
19
21
UIRouterModule . forChild ( {
20
22
states : STATES ,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { UIRouterModule } from 'ui-router-ng2';<% } %>
6
6
< % _ if ( filters . ngroute ) { % >
7
7
import { RouterModule, Routes } from '@angular/router' ; < % } % >
8
8
< % _ if ( filters . uibootstrap ) { % >
9
- import { TooltipModule } from 'ng2-bootstrap/ng2-bootstrap ' ; < % } % >
9
+ import { TooltipModule } from 'ng2-bootstrap' ; < % } % >
10
10
11
11
import { MainComponent } from './main.component';
12
12
< % _ if ( filters . socketio ) { - % >
@@ -32,7 +32,7 @@ export const STATES = [
32
32
states : STATES ,
33
33
} ) , < % } % >
34
34
< % _ if ( filters . uibootstrap ) { % >
35
- TooltipModule , < % } % >
35
+ TooltipModule . forRoot ( ) , < % } % >
36
36
],
37
37
declarations: [
38
38
MainComponent,
Original file line number Diff line number Diff line change 1
1
import { NgModule } from '@angular/core' ;
2
2
import { CommonModule } from '@angular/common' ;
3
3
import { UIRouterModule } from 'ui-router-ng2' ;
4
- import { CollapseModule } from 'ng2-bootstrap/ng2-bootstrap ' ;
4
+ import { CollapseModule } from 'ng2-bootstrap' ;
5
5
6
6
import { AuthModule } from './auth/auth.module' ;
7
7
You can’t perform that action at this time.
0 commit comments