Skip to content
A feature of ktor for setting up single page application like Angular, React and so on
Kotlin
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
src/main/kotlin/work/jeong/murry/ktor/features
.gitignore
LICENSE
README.md
pom.xml

README.md

ktor-easy-spa

A feature of ktor for setting up single page application like Angular, React and so on

Maven Central

Setting

Gradle Kotlin DSL

compile("work.jeong.murry.ktor.features:ktor-easy-spa:1.0.1")

Maven

<dependency>
  <groupId>work.jeong.murry.ktor.features</groupId>
  <artifactId>ktor-easy-spa</artifactId>
  <version>1.0.1</version>
</dependency>

Gradle

dependencies {
    implementation("work.jeong.murry.ktor.features", "ktor-easy-spa", "1.0.1")
}

Usage

Just install the feature in your application with:

    install(EasySpaFeature)

or

    install(EasySpaFeature) {
        staticRootDocs = "./htdocs"
        defaultFile = "index.html"
        apiUrl = "/api"
    }
You can’t perform that action at this time.