Skip to content

Commit

Permalink
Client: Bumped Angular Universal to 9.0.1, not yet fully functional
Browse files Browse the repository at this point in the history
It doesn't seem possible to render multiple languages from a single universal server anymore: https://github.com/angular/universal/issues/1454
  • Loading branch information
MarcusRiemer committed Feb 24, 2020
1 parent 66db4a2 commit b3b8414
Show file tree
Hide file tree
Showing 9 changed files with 2,192 additions and 183 deletions.
34 changes: 31 additions & 3 deletions client/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,38 @@
"server": {
"builder": "@angular-devkit/build-angular:server",
"options": {
"outputPath": "dist/server/de",
"main": "src/main.server.ts",
"outputPath": "dist/server",
"main": "src/universal-server.ts",
"tsConfig": "src/tsconfig.server.json",
"i18nLocale": "de"
"localize": [
"en", "de"
],
}
},
"serve-ssr": {
"builder": "@nguniversal/builders:ssr-dev-server",
"options": {
"browserTarget": "blattwerkzeug-client:build",
"serverTarget": "blattwerkzeug-client:server"
},
"configurations": {
"production": {
"browserTarget": "blattwerkzeug-client:build:production",
"serverTarget": "blattwerkzeug-client:server:production"
}
}
},
"prerender": {
"builder": "@nguniversal/builders:prerender",
"options": {
"browserTarget": "blattwerkzeug-client:build:production",
"serverTarget": "blattwerkzeug-client:server:production",
"routes": [
"/"
]
},
"configurations": {
"production": {}
}
}
}
Expand Down
Loading

0 comments on commit b3b8414

Please sign in to comment.