Questions tagged [prismic.io]

A developer-friendly CMS backend

Home page

178 questions
0
votes
2 answers

Filtering Queries from Prismic and GatsbyJS

Seeing some strange behavior querying a Prismic data source and filtering by a content relationship in my gatsby site. I"m trying to create a page filtering some products based on the category passed into this page. Reading both the Prismic and…
0
votes
1 answer

Display a section as serialized html in prismic nuxtjs

I'm new to Prismic and tried to pull a page using PrismicDOM.RichText.asText and it worked but when I tried to display a section/field using asHtml, it displays a literal html code. Been searching on the docs and tried the HTML Serializer but still…
claudios
  • 6,588
  • 8
  • 47
  • 90
0
votes
2 answers

gatsby-source-prismic-graphql query structure

Anyone out there that has made the jump from gatsby-source-prismic to gatsby-source-prismic-graphql and know if the query structure and naming are the same. For example I'm currently using something like the below for gatsby-source-prismic. …
me-me
  • 5,139
  • 13
  • 50
  • 91
0
votes
2 answers

"Cannot read property 'page' of undefined" - Gatsby and Prismic creating pagination for template in gatsby-node

I'm hoping that someone has run into something similar and can give me some advice in the right direction. I'm building out a blog using gatsby with content pulled from Prismic. Each blog post has an author and tag related to them via Prismic…
clkent
  • 31
  • 5
0
votes
1 answer

Building Categories with Prismic?

I have an existing Gatsby/Prismic blog. I'm trying now to organize my content by using categories. Does anyone knows a good tutorial? Theres literally just 1 Documentation that Ive found and its not really helping. Does anyone knows the steps to…
0
votes
1 answer

Outsourcing web content versus maintaining local content

I am developing a full web application... I am considering using prismic.io to outsource some web content which I will query through graphQL. But I would store personal information about users in a local instance of mongoDB. Whats the long term…
Aiden Faulconer
  • 411
  • 1
  • 7
  • 18
0
votes
1 answer

Put prismic fields in an array to be used in v-select :items prop for vuetify project?

I need to put some prismic fields into the :items prop of a v-select element but I haven't found a way to do this effectively. I'm not sure if I need to use different field types to accomplish this, but at this point I'm trying to render key text…
user5415090
0
votes
1 answer

How to use prismic group fields as items in a vuetify v-select element?

I created a field group (question_topics) in prismic with a single key-text field (topic) inside of it for adding as many topics as I need. I have been able to get the content on to my site successfully, but I don't know how I can get the field data…
user5415090
0
votes
2 answers

Mapping over Prismic Slice Data in Gatsby App

I have a "Single Type" Page in Prismic with some normal content fields like uid or headline. It also has slice content with non-repeatable fields. This is what my query looks like: export const homeQuery = graphql` query Home { prismicHome { …
Christoph Berger
  • 341
  • 1
  • 4
  • 16
0
votes
1 answer

Using grouped prismic link fields in a vuetify v-btn properly?

I have a prismic group (link_sections) containing a bunch of fields. One of the fields is a link, because the markup I am creating with these groups is supposed to contain a button that links elsewhere on the site. The problem is that I don't know…
user4671351
0
votes
0 answers

Fetch data in InitialProps

the website it's make with Reactjs, Nextjs and Prismic for manage the data on back end I try to put the content of my article in the getInitialProps in my file, i recover the parameter for found the good article by the slug of article, in…
Kérian Pelat
  • 121
  • 2
  • 12
0
votes
3 answers

Gatsby, RSS Feeds and a Headless CMS

I am building a site using Gatsby and have a 'News' section of the site. This section is to be populated by various news articles pulled in from different RSS feeds. However, I do not want to include every article from every feed and I want to…
Moshe
  • 6,011
  • 16
  • 60
  • 112
0
votes
1 answer

Prismic images don't load in vue site and create runtime/compiler error

I integrated the prismic.io headless cms into my vuetify project and have been able to render content from key text fields I created in my prismic repository into the project, but I haven't been able to load images. When I view the page in a browser…
user4671351
0
votes
2 answers

Fetching data from Prismic API using React Hooks

I'm trying to query data from the Prismic headless CMS API and running into problems using React Hooks. The prismic API is returning null, though I know its being passed down correctly as I can query it successfully without using react hooks. Heres…
geeberry
  • 617
  • 2
  • 10
  • 17
0
votes
1 answer

Trouble returning Prismic slices with gatsby-source-prismic

I'm using the localhost:8000/___graphq debugger and gatsby-source-prismic to returning my slices from prismic cms. I followed the steps in the readme and I get the correct typenames with this snippet: { prismicHomepage { data { body { …
Kozowsky
  • 1
  • 2
1 2 3
11
12