https://kotlinlang.org logo
Title
s

Slackbot

06/28/2022, 7:43 AM
This message was deleted.
a

Aleksei Tirman [JB]

06/28/2022, 10:50 AM
The
singlePageApplication
method just creates routes to serve a static content of your frontend application. Could you please tell me what problem do you experience?
r

Raphael TEYSSANDIER

06/28/2022, 11:31 AM
I have no problem, I just don’t know how to start a frontend in vue.js with ktor
singlePageApplication
@Aleksei Tirman [JB] I have added a project created with WebStorm inside the ktor project. Referenced the project like
singlePageApplication {
            vue("vue-test")
            defaultPage = "public/index.html"
        }
But I have a blank page
a

Aleksei Tirman [JB]

06/28/2022, 2:03 PM
This configuration means that you need to have the
vue-test
directory and inside it the
public
directory with the
index.html
file. The
vue-test
directory should be located in the current working directory that is your project root directory by default if you use IDEA.
1