[JS, Wizard] Use react template in full stack
^KT-41417 fixed
This commit is contained in:
-10
@@ -10,19 +10,9 @@ repositories {
|
||||
maven {
|
||||
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 {
|
||||
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 {
|
||||
js {
|
||||
|
||||
-10
@@ -10,19 +10,9 @@ repositories {
|
||||
maven {
|
||||
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 {
|
||||
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 {
|
||||
js {
|
||||
|
||||
-2
@@ -71,10 +71,8 @@ kotlin {
|
||||
}
|
||||
jsMain {
|
||||
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-dom:16.13.1-pre.110-kotlin-KOTLIN_VERSION'
|
||||
implementation 'org.jetbrains:kotlin-styled:1.0.0-pre.110-kotlin-KOTLIN_VERSION'
|
||||
}
|
||||
}
|
||||
jsTest {
|
||||
|
||||
-2
@@ -69,10 +69,8 @@ kotlin {
|
||||
}
|
||||
val jsMain by getting {
|
||||
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-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 {
|
||||
|
||||
+1
-1
@@ -239,7 +239,7 @@ object FullStackWebApplicationProjectTemplate : ProjectTemplate() {
|
||||
}
|
||||
},
|
||||
ModuleType.js.createDefaultTarget().apply {
|
||||
withTemplate(SimpleJsClientTemplate())
|
||||
withTemplate(ReactJsClientTemplate())
|
||||
}
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user