Hi Community,
I am trying to query a document using the $prismic object $prismic.client.getByUID(uid, type)
, however I keep getting an error. I assume I must be missing an import somewhere?
I have installed the @prismicio/vue dependency (which seems to also include prismic-javascript & prismic-dom)
Am I missing something?
Cheers,
Patrick
P.S. In your documentation you have it listed as $prismic.client.getByUID(uid, type)
however in your example, it seems to follow type and THEN uid const document = await $prismic.client.getByUID('page', params.uid)