Is it possible to export all dynamic routes with s...
# kobweb
r
Is it possible to export all dynamic routes with static export? I basically want that the user can navigate from outside to my dynamic routes (e.g. from Google search) like www.mysite.com/content/dynamicroute That works fine if I run the server with
kobweb run
Ok I am now adding every route separately like
Copy code
export {
addExtraRoute(
route = "/content/dynamicroute",
exportPath = "/content/dynamicroute/index.html"
)
}
d
Yes, the
export
block is probably the correct way to accomplish that. You could also define stub
@Page
entries which get exported and themselves just route to some dynamic page.
thank you color 1