-
Notifications
You must be signed in to change notification settings - Fork 143
Open
Description
Since Angular version 17 the output path changed by default. See angular/angular-cli#26304
Files are no longer put in target/classes/static when the output path is set to it. Instead they are in target/classes/static/browser. Thus Spring Boot does not serve the files correctly.
In the issue mentioned above there is a workaround. In angular.json you can modify the outputPath like this:
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": {
"base": "target/classes/static",
"browser": ""
},
"index": "src/index.html",
patrick-irc and ma1088
Metadata
Metadata
Assignees
Labels
No labels