File tree Expand file tree Collapse file tree 2 files changed +20
-11
lines changed Expand file tree Collapse file tree 2 files changed +20
-11
lines changed Original file line number Diff line number Diff line change 32
32
}
33
33
],
34
34
"styles" : [" apps/host-application/src/styles.css" ],
35
- "scripts" : []
35
+ "scripts" : [],
36
+ "server" : " apps/host-application/src/main.server.ts" ,
37
+ "ssr" : {
38
+ "entry" : " apps/host-application/src/server.ts"
39
+ },
40
+ "outputMode" : " server"
36
41
},
37
42
"configurations" : {
38
43
"production" : {
Original file line number Diff line number Diff line change 1
1
import { Route } from '@angular/router' ;
2
2
import { loadModule } from '@klerick/nx-angular-mf/loadModule' ;
3
3
4
- export const appRoutes : Route [ ] = [ {
5
- path : '' ,
6
- loadComponent : ( ) => import ( './nx-welcome.component' ) . then ( r => r . NxWelcomeComponent )
7
- } , {
8
- path : 'first' ,
9
- loadChildren : ( ) =>
10
- loadModule < { firstRoutes : Route [ ] } > ( 'firstRemote/FirstRemoteRoute' ) . then (
11
- ( r ) => r . firstRoutes
12
- ) ,
13
- } , ] ;
4
+ export const appRoutes : Route [ ] = [
5
+ {
6
+ path : '' ,
7
+ loadComponent : ( ) =>
8
+ import ( './nx-welcome.component' ) . then ( ( r ) => r . NxWelcomeComponent ) ,
9
+ } ,
10
+ {
11
+ path : 'first' ,
12
+ loadChildren : ( ) =>
13
+ loadModule < { firstRoutes : Route [ ] } > ( 'firstRemote/FirstRemoteRoute' ) . then (
14
+ ( r ) => r . firstRoutes
15
+ ) ,
16
+ } ,
17
+ ] ;
You can’t perform that action at this time.
0 commit comments