I have a repeatable type, something I need 1 of for every page of my sveltekit app.
How do I make it so each one is tied to each page?
My file structure is a typical sveltekit app.
src
routes
index.svelte
outlet.svelte
In my prismicClient.js I have this, form the docs
const routes = [
{
type: 'table-columns',
path: '/:uid',
},
]
In the backend of Prismic I have named these two Documents, "index" and "outlet" but when using the default query for them from the docs, it only returns the latest one on every page, not the one for the actual page url.