Filip Wiesner
02/27/2023, 7:18 PMDavid Herman
02/27/2023, 8:03 PMDavid Herman
02/27/2023, 8:05 PMindex.html
and yoursite.js
no matter what the URL is, because the Kobweb framework takes care of translating URLs into what finally gets rendered on the page.Filip Wiesner
02/27/2023, 8:09 PMFilip Wiesner
02/27/2023, 8:11 PMDavid Herman
02/27/2023, 8:11 PMDavid Herman
02/27/2023, 8:12 PMDavid Herman
02/27/2023, 8:13 PMkobweb run --env prod
and have it serve your files. Or you can even write your own server if you know what you're doing πDavid Herman
02/27/2023, 8:14 PMkobweb export
turns your Kobweb project into a bunch of files that need to be served to the user.David Herman
02/27/2023, 8:15 PMkobweb export
by default outputs things in a custom way.
kobweb export --layout static
outputs things in a standard way.David Herman
02/27/2023, 8:15 PM.kobweb/site
to see what the outputs look likeDavid Herman
02/27/2023, 8:16 PMindex.html
file and a yoursite.js
file, your job is to get that to any user that visits your site.David Herman
02/27/2023, 8:17 PMyoursite.js
which will populate the DOM with content, giving the user the illusion they grabbed a site over the internet, when they really grabbed a program that generates a site. Subtle difference.Filip Wiesner
02/27/2023, 8:18 PMDavid Herman
02/27/2023, 8:19 PMDavid Herman
02/27/2023, 8:19 PMFilip Wiesner
02/27/2023, 8:20 PMDavid Herman
02/27/2023, 8:20 PMkobweb run --env prod
uses the kobweb format while kobweb run --env prod --layout static
uses the static layoutDavid Herman
02/27/2023, 8:21 PMkobweb run --env dev
digs into your build folders for finding content to serveDavid Herman
02/27/2023, 8:22 PMkobweb run
to startDavid Herman
02/27/2023, 8:23 PMDavid Herman
02/27/2023, 8:23 PMFilip Wiesner
02/27/2023, 8:23 PMDavid Herman
02/27/2023, 8:24 PMDavid Herman
02/27/2023, 8:25 PMDavid Herman
02/27/2023, 8:25 PMFilip Wiesner
02/27/2023, 8:25 PMkobweb
tool which I don't really want to install on every CI buildDavid Herman
02/27/2023, 8:26 PMFilip Wiesner
02/27/2023, 8:28 PMDavid Herman
02/27/2023, 8:28 PMFilip Wiesner
02/27/2023, 9:23 PMColor.argb()
and was missing the ease of use of 0xFFFF0000
as in Compose for Android) but I succesully deployed first thing π
https://cometes.appFilip Wiesner
02/27/2023, 9:23 PMDavid Herman
02/27/2023, 9:28 PMDavid Herman
02/27/2023, 9:29 PMDavid Herman
02/27/2023, 9:30 PMFilip Wiesner
02/27/2023, 9:31 PMDavid Herman
02/27/2023, 9:31 PMrgba
as that's what they use in the web world but I could probably add argb
as well. Is that what Jetpack Compose uses?David Herman
02/27/2023, 9:32 PMFilip Wiesner
02/27/2023, 9:32 PMDavid Herman
02/27/2023, 9:37 PMrgba(value)
method is poorly named, I totally didn't catch thatDavid Herman
02/27/2023, 9:38 PMargb
instead, good catchFilip Wiesner
02/27/2023, 9:41 PMcolor
. I would expect something like foregroundColor
Filip Wiesner
02/27/2023, 9:41 PMDavid Herman
02/27/2023, 9:48 PMDavid Herman
02/27/2023, 9:48 PMDavid Herman
02/27/2023, 9:49 PMFilip Wiesner
02/27/2023, 9:51 PMDavid Herman
02/27/2023, 9:54 PM@InitSilk
which I believe is actually documented in the README πFilip Wiesner
02/27/2023, 9:55 PMDavid Herman
02/27/2023, 9:55 PMFilip Wiesner
02/27/2023, 9:56 PMDavid Herman
02/27/2023, 9:56 PMDavid Herman
02/27/2023, 9:57 PMFilip Wiesner
02/27/2023, 9:57 PMDavid Herman
02/27/2023, 9:58 PMDavid Herman
02/27/2023, 9:58 PMFilip Wiesner
02/27/2023, 9:59 PMDavid Herman
02/27/2023, 10:01 PMDavid Herman
02/27/2023, 10:01 PMFilip Wiesner
02/27/2023, 10:04 PMDavid Herman
02/27/2023, 10:04 PMDavid Herman
02/27/2023, 10:05 PMFilip Wiesner
02/27/2023, 10:07 PMDavid Herman
02/27/2023, 10:08 PMFilip Wiesner
03/01/2023, 7:45 PM./gradlew publishToLocalMaven
-> ./gradlew publishToMavenLocal
David Herman
03/01/2023, 7:46 PMDavid Herman
03/01/2023, 7:48 PMDavid Herman
03/01/2023, 7:48 PMDavid Herman
03/01/2023, 7:49 PMFilip Wiesner
03/01/2023, 7:51 PMDavid Herman
03/01/2023, 7:52 PMFilip Wiesner
03/01/2023, 7:54 PMauth
so I don't really mind. But thanks for the warningDavid Herman
03/01/2023, 7:54 PM