A developer-friendly CMS backend
Questions tagged [prismic.io]
178 questions
1
vote
1 answer
prismic preview not displaying updated content in gatsby
I'm developing site with Gatsby and Prismic.
I am implementing prismic preview with prismic-javascript. When click the preview on prismic, gatsby redirecting it to the proper URL but updated content not displaying now.
I tried to use the…

Pace
- 15
- 5
1
vote
1 answer
How do I paginate specific blog posts on Prismic and Nuxt?
I am trying to paginate specific posts on my blog page with two tags.
According to the Prismic Pagination API, accomplishing that would be as easy as passing the parameter link ?page=1, such as example.com/blog/?page=1, but nothing changes.
How…

Mark Perez
- 11
- 1
- 3
1
vote
2 answers
is there a way to send data to prismic.io?
I need to push an object to prismic.io. For example, I want to send a simple object like a string to the CMS.
I don't see any hints in the documentation that can help me achieve this. I'm using angular 7.
I already made my custom type, I can get…

cosiko
- 11
- 2
1
vote
1 answer
How to receive and map dynamic URLS using Prismic and Server Side Rendering
I have an app using Create Next App with SSR using the Prismic API as a content source. I am trying to create dynamic routes and running into a brick wall. Singleton routes were fine but trying to dynamically create routes I can't seem to figure…

geeberry
- 617
- 2
- 10
- 17
1
vote
1 answer
Using the Rich Text Component in Vue
So I wanna use the Rich Text Component like described in the Docs:
https://prismic.io/docs/vuejs/templating/rich-text
So my HTML in that specific part that causes the Error looks like this:
…

niclas_4
- 3,514
- 1
- 18
- 49
1
vote
1 answer
How can I filter by uid of a linked document / relationship using the prismic graphql api?
I am trying to list a set of articles by their categories, by uid, and I'm assuming that I would have to use the where query, but I'm not able to get that to worked on linked documents.
The issue seems to be that where only accepts a string on a…

TraaidMark
- 63
- 8
1
vote
1 answer
Nuxt - Accessing async data in dynamic route
I'm having problems dealing with async data in Nuxt dynamic routes.
Example of folder structure,
My async data
async asyncData({context, error, req}) {
try {
const api = await Prismic.getApi(PrismicConfig.apiEndpoint, {req})
let document…

Goran
- 708
- 7
- 20
1
vote
1 answer
PrismicDOM.RichText inside v-for
Rewritten this question as was not clear.
I am using Prismic and I've been able to pull blog posts on the page with prismic-javascript in my Nuxt project.
This is what I have at the moment:
{{…

Saro
- 529
- 1
- 7
- 19
1
vote
1 answer
Cannot access object data in Gatsby page query
I am using Prismic and Gatsby for a site and am having trouble with a page template. The graphql query works but I cannot access items within the data object.
This is how my template is set up:
const ContactPage = ({ data: prismicContactPage }) =>…

gscr
- 53
- 7
1
vote
0 answers
GraphQL Query with variables from data object
I have a graphQl query where I use a Prismic uid to get a specific user. Now I also want to get a user space from another prismic set of data called prismicSpaces but instead of looking for the data based on the uid on prismicSpaces I want to pass…

me-me
- 5,139
- 13
- 50
- 91
1
vote
1 answer
template forms in prismic
I'm new to prismic and trying to figure out if this is right tool for what I need. I need to create multiple form templates. I want prismic user to be able to build out the template, which will get loaded into gatsby where each field will get built…

me-me
- 5,139
- 13
- 50
- 91
1
vote
0 answers
Visualizing hierarchical content/taxonomy in prismic.io admin
I am trying to create a taxonomy similar to this:
Category 1
Category 1.1
Category 1.2
Category 2
Category 2.1
Category 2.2
etc.
It is possible to create taxonomies based on group selections of hierarchical content, but at the time of the…

aaandre
- 2,502
- 5
- 33
- 46
1
vote
1 answer
Show data from Prismic.io in GatsbyJS frontend
I was playing around with prismic.io as a content source for a gatsby site and just can't figure out why I can't output certain data.
The graphql tool from gatsby returns all the right data so the query itself seems fine:
export const pageQuery =…

Martin Conde
- 345
- 3
- 15
1
vote
1 answer
When using the a tag or Link from react router dom, Image keeps downloading
I'm using react router 4 and trying to link to an image on my page. When I click the link, the image just downloads instead of opening in a new tab or on the same page. Ideally I'd it to open the image on the same page in the browser.
I'm using…

Milos
- 1,073
- 4
- 14
- 33
0
votes
0 answers
How do I dynamically generate pages with Next.js when route contains special characters?
I'm currently developing af solution with Next.js and Prismic.
I have a custom article type and I want to create a "tag" page that shows articles with a given tag.
Much like Wordpress and other content management systems.
I'm using the built-in tag…

kristofferandreasen
- 847
- 2
- 12
- 24