Templating Content
The module injects multiple components to template Prismic data. By default, they are made available globally in your application:
*.vue
<prismic-rich-text :field="doc.text" />
<prismic-text :field="doc.text" />
<prismic-link :field="doc.link">My link</prismic-link>
<prismic-image :field="doc.image" />
<prismic-embed :field="doc.embed" />
<slice-zone :slices="doc.body" :components="components" />
Learn more about injected components in the
@prismicio/vue
documentation.