Hello Chris,
Welcome to the community.
I'm assuming that Prismic endpoint is already defined for your project.
You need to fetch content from the api using either by helper function or by predicates in your page. In pages, you can use asyncData hook.
Query something like this:
export default {
async asyncData({ $prismic, error }) {
try{
// Query to get introduction page content
const introductionContent = (await $prismic.api.getSingle('introduction')).data
return {
introductionContent
}
} catch (e) {
// Returns error page
error({ statusCode: 404, message: 'Page not found' })
}
},
}
Then you need to do templating in your page:-
<template>
{{ $prismic.asText( introductionContent.title) }}
</template>
You can follow all this documentation:
https://prismic.nuxtjs.org/fetching-content.
https://prismic.io/docs/technologies/using-prismic-with-nuxtjs-vuejs
Let me know if you have any doubt.
Thanks,
Priyanka