How can add sitemap.xml in kobweb if possible
# kobweb
m
How can add sitemap.xml in kobweb if possible
a
You can create the file under
resources/public
of
jsMain
module and it will be publicly available, which is not Kobweb specific.
m
Ok thanks
c
Since Kobweb knows all the routes, it could generate it itself 🤔
d
I just went ahead and created this issue to track the feature: https://github.com/varabyte/kobweb/issues/701 (but it's not a priority, so for now I would just look at the comment I linked to and put the code inside your build script)