Closed bitspittle closed 11 months ago
Note that I'm doing this in my own blog site now simply by adding logic to my build.gradle file:
so it's quite possible that we never need to do anything ourselves in Kobweb.
That said, I should review what I'm doing in my blog site and see if I could possibly expose some sort of API which makes doing what I'm doing easier to do.
So, yeah, at this point best practice is to
jsMain { kotlin.srcDir(genStuffTask) }
This will need a design pass. But basically, similar to what next.js is doing with static props - for example, maybe you can query a database and generate the top-level blog indexing site dynamically from it (e.g. maybe top five most visited articles, etc.)