Hi All, Im on a bit of a time limit evaluating a ...
# doodle
k
Hi All, Im on a bit of a time limit evaluating a number of web frameworks so im asking questions id normally just work out. I've downloaded the doodle tutorial code, first off there is a compile error in there that I fixed up and will put in a PR later if I get chance. in the toml it references dateTimeVersion but its not defined. so the stupid question I have is how do I run the tutorials? I want to run "Todo" for example but there's no configurations available to run and no instructions ( that I have seen ) on what to set up in a config to run them. I've tried in Android studio and Intelij. Thanks in advance
n
hey @Kev Thompson, welcome. and thanks for finding that issue. i had that fix sitting in a diff that wasn't pushed yet 😅 (now fixed). the tutorials are configured in a non-traditional way that wouldn't actually apply to most apps. this is to make it possible to enable the same apps to run embedded in the tutorials site as well as be stand-alone, top-level apps you can run. Kotlin JS only allows a single
main
fun in a runnable project. so the site can't depend on a project w/
main
, even if it never uses the class that has it. therefore, i had to create libs for the apps and have both the site (
DocApps
) and their stand-alone form (
*Runner
). this means you need to run the Todo example from the
TodoRunner
project using
jsBrowser*Run
,
wasmJsBrowser*Run
etc.