MPP JVM/JS wizard: add head & title to HTML #KT-27491 Fixed
This commit is contained in:
+3
@@ -109,6 +109,9 @@ class KotlinGradleWebMultiplatformModuleBuilder : KotlinGradleAbstractMultiplatf
|
||||
routing {
|
||||
get("/") {
|
||||
call.respondHtml {
|
||||
head {
|
||||
title("Hello from Ktor!")
|
||||
}
|
||||
body {
|
||||
+"${"$"}{hello()} from Ktor. Check me value: ${"$"}{Sample().checkMe()}"
|
||||
div {
|
||||
|
||||
Reference in New Issue
Block a user