Skip to content

(mostly) Static web app #60

Answered by pusolito
a-cosmic-jaw asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, glad you're thinking about using Doodle. You should be able to use it for your use case, assuming you are ok with needing to run JS on the client. Doodle creates SPAs that rely on JS to perform all logic.

You will get a JS file when you build a Doodle app. And you usually link to it from some HTML file. But there's no reason you can't also inline the contents of that JS file into the HTML directly. Either way, you won't need a server to interact w/ your app once it is delivered to the client.

The difference between wasmJsMain and jsMain is that wasmJsMain is used to build a WebAssembly app. This is still experimental in Kotlin, so I'd recommend sticking with jsMain. Otherwise, the ap…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pusolito
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants