[JS, Wizard] Use react template in full stack
^KT-41417 fixed
This commit is contained in:
-10
@@ -10,19 +10,9 @@ repositories {
|
|||||||
maven {
|
maven {
|
||||||
url 'https://dl.bintray.com/kotlin/kotlin-dev'
|
url 'https://dl.bintray.com/kotlin/kotlin-dev'
|
||||||
}
|
}
|
||||||
maven {
|
|
||||||
url 'https://dl.bintray.com/kotlin/kotlinx'
|
|
||||||
}
|
|
||||||
maven {
|
|
||||||
url 'https://dl.bintray.com/kotlin/kotlin-js-wrappers'
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
testImplementation 'org.jetbrains.kotlin:kotlin-test-js'
|
testImplementation 'org.jetbrains.kotlin:kotlin-test-js'
|
||||||
implementation 'org.jetbrains.kotlinx:kotlinx-html-js:0.7.1-KOTLIN_VERSION'
|
|
||||||
implementation 'org.jetbrains:kotlin-react:16.13.1-pre.110-kotlin-KOTLIN_VERSION'
|
|
||||||
implementation 'org.jetbrains:kotlin-react-dom:16.13.1-pre.110-kotlin-KOTLIN_VERSION'
|
|
||||||
implementation 'org.jetbrains:kotlin-styled:1.0.0-pre.110-kotlin-KOTLIN_VERSION'
|
|
||||||
}
|
}
|
||||||
kotlin {
|
kotlin {
|
||||||
js {
|
js {
|
||||||
|
|||||||
-10
@@ -10,19 +10,9 @@ repositories {
|
|||||||
maven {
|
maven {
|
||||||
url = uri("https://dl.bintray.com/kotlin/kotlin-dev")
|
url = uri("https://dl.bintray.com/kotlin/kotlin-dev")
|
||||||
}
|
}
|
||||||
maven {
|
|
||||||
url = uri("https://dl.bintray.com/kotlin/kotlinx")
|
|
||||||
}
|
|
||||||
maven {
|
|
||||||
url = uri("https://dl.bintray.com/kotlin/kotlin-js-wrappers")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
testImplementation(kotlin("test-js"))
|
testImplementation(kotlin("test-js"))
|
||||||
implementation("org.jetbrains.kotlinx:kotlinx-html-js:0.7.1-KOTLIN_VERSION")
|
|
||||||
implementation("org.jetbrains:kotlin-react:16.13.1-pre.110-kotlin-KOTLIN_VERSION")
|
|
||||||
implementation("org.jetbrains:kotlin-react-dom:16.13.1-pre.110-kotlin-KOTLIN_VERSION")
|
|
||||||
implementation("org.jetbrains:kotlin-styled:1.0.0-pre.110-kotlin-KOTLIN_VERSION")
|
|
||||||
}
|
}
|
||||||
kotlin {
|
kotlin {
|
||||||
js {
|
js {
|
||||||
|
|||||||
-2
@@ -71,10 +71,8 @@ kotlin {
|
|||||||
}
|
}
|
||||||
jsMain {
|
jsMain {
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'org.jetbrains.kotlinx:kotlinx-html-js:0.7.1-KOTLIN_VERSION'
|
|
||||||
implementation 'org.jetbrains:kotlin-react:16.13.1-pre.110-kotlin-KOTLIN_VERSION'
|
implementation 'org.jetbrains:kotlin-react:16.13.1-pre.110-kotlin-KOTLIN_VERSION'
|
||||||
implementation 'org.jetbrains:kotlin-react-dom:16.13.1-pre.110-kotlin-KOTLIN_VERSION'
|
implementation 'org.jetbrains:kotlin-react-dom:16.13.1-pre.110-kotlin-KOTLIN_VERSION'
|
||||||
implementation 'org.jetbrains:kotlin-styled:1.0.0-pre.110-kotlin-KOTLIN_VERSION'
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
jsTest {
|
jsTest {
|
||||||
|
|||||||
-2
@@ -69,10 +69,8 @@ kotlin {
|
|||||||
}
|
}
|
||||||
val jsMain by getting {
|
val jsMain by getting {
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation("org.jetbrains.kotlinx:kotlinx-html-js:0.7.1-KOTLIN_VERSION")
|
|
||||||
implementation("org.jetbrains:kotlin-react:16.13.1-pre.110-kotlin-KOTLIN_VERSION")
|
implementation("org.jetbrains:kotlin-react:16.13.1-pre.110-kotlin-KOTLIN_VERSION")
|
||||||
implementation("org.jetbrains:kotlin-react-dom:16.13.1-pre.110-kotlin-KOTLIN_VERSION")
|
implementation("org.jetbrains:kotlin-react-dom:16.13.1-pre.110-kotlin-KOTLIN_VERSION")
|
||||||
implementation("org.jetbrains:kotlin-styled:1.0.0-pre.110-kotlin-KOTLIN_VERSION")
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
val jsTest by getting {
|
val jsTest by getting {
|
||||||
|
|||||||
+1
-1
@@ -239,7 +239,7 @@ object FullStackWebApplicationProjectTemplate : ProjectTemplate() {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
ModuleType.js.createDefaultTarget().apply {
|
ModuleType.js.createDefaultTarget().apply {
|
||||||
withTemplate(SimpleJsClientTemplate())
|
withTemplate(ReactJsClientTemplate())
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user