Skip to content

Commit 7a9c66f

Browse files
authored
fix file path
1 parent 2e15f58 commit 7a9c66f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ In order to use SPA application router (eg. angular, reactjs or vuejs router), w
4848
This is achieved thanks to [SpaWebFluxConfigurer](./backend/src/main/kotlin/com/powple/backend/config/SpaWebFluxConfigurer.kt)
4949
and the [`/` route](./backend/src/main/kotlin/com/powple/backend/config/RoutesConfiguration.kt)
5050

51-
Then add in [settings.gradle](./settings.gradle):
51+
Then add in [settings.gradle.kts](./settings.gradle.kts):
5252

5353
```groovy
5454
include 'backend'
@@ -83,7 +83,7 @@ Then change the react application to use that greeting service, see:
8383
> In production, the react application will be served by [Spring Boot](https://projects.spring.io/spring-boot/) so the API is actually exposed locally.
8484
---
8585

86-
Add in [settings.gradle](./settings.gradle):
86+
Add in [settings.gradle.kts](./settings.gradle.kts):
8787

8888
```kotlin
8989
include("backend")
@@ -134,15 +134,15 @@ We need to package the result of the build made by `yarn build` command to the [
134134
In order to do that, we will use the [gradle-node-plugin](https://github.com/node-gradle/gradle-node-plugin) to allow us to run yarn/npm tasks from gradle
135135
and at the end, make `processResources` task from the backend to depends on frontend `yarn build`.
136136

137-
1. First, add in [settings.gradle](./settings.gradle) before backend:
137+
1. First, add in [settings.gradle.kts](./settings.gradle.kts) before backend:
138138

139139
```groovy
140140
include("frontend")
141141
```
142142

143-
2. Make yarn/npm tasks depends on gradle tasks in [build.gradle](./frontend/build.gradle) in frontend.
143+
2. Make yarn/npm tasks depends on gradle tasks in [build.gradle.kts](./frontend/build.gradle.kts) in frontend.
144144

145-
3. Make backend gradle `processResources` task depending on frontend gradle `yarn_build` tasks in [build.gradle](./backend/build.gradle) in backend
145+
3. Make backend gradle `processResources` task depending on frontend gradle `yarn_build` tasks in [build.gradle](./backend/build.gradle.kts) in backend
146146
and copy the frontend build output into `/static` folder in the jar file. More information on [how spring-boot can serve static content](https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-developing-web-applications.html#boot-features-spring-mvc-static-content).
147147

148148
---

0 commit comments

Comments
 (0)