Discussion on: How to render your sitemap.xml file in your Svelte/Sapper blog

kevinconti profile image

Thanks for this post!

I found that I wasn't able to implement this using a Svelte store. I use svelte-apollo to access my db, and what gets returned from the function is a store which seems not to play well with the sapper side of things...

Thankfully, I found a workaround, since I have another db that replicates the data I need (Algolia for search).

Here's a link to my implementation if anyone wants to see!