https://kotlinlang.org logo
#ktor
Title
v

vincent.brule

08/07/2018, 11:11 AM
Ok perfect, thank for your answers ! Do you think it’s possible to build my react project in the gradle build in ktor ?
1
v

Vinicius Carvalho

08/07/2018, 11:13 AM
Anything that is on your resources folder will be packed as part of your application and as long as you configure the static feature it can be served by ktor
a

avolkmann

08/07/2018, 11:22 AM
you can add a task to gradle that executes a bash script if needed
v

vincent.brule

08/07/2018, 12:21 PM
Ok perfect thank you very much !
e

Evgeniy Zaharov

08/07/2018, 12:36 PM
you can look at example with vue subproject in
public
folder:
it builds by webpack to static content and served by ktor later
o

orangy

08/07/2018, 12:57 PM
3 Views