menu

Gatsby.js

Fast in every way that matters. Gatsby is a free and open source framework based on React that helps developers build blazing fast websites and apps.

Channels
# All channels
view-forward
# General
view-forward
# I Made This
view-forward
# Meta
view-forward
# Themes
view-forward
Team
Posts
Members
Info

The fragment "GatsbyContentfulFluid" does not exist.

I get this error compiling in Gatsby - it must be a stupid mistake, but I've tried a bunch of the online suggestions and I'm not getting anywhere ... so please be kind. When I use Graphql Playground it works fine: ... but in Gatsby, I'm using the following: …

thumbsup
0
message-simple
3

If field is empty don't display (Contentful + GatsbyJS)

Hi Maybe this is a basic question. Im pulling data from Contentful into my gatsby website but some of the entries dont have values on a specific field. …

thumbsup
0
message-simple
1

[Help] createNode in different plugin with same node type overwritted?

Description Hi everyone, I'm new in Gatsby.js and I'm trying to build my own blog with it. In addition to supporting markdown format, I also want to sync my Notion page into my app so that I can use Notion as my CMS and automatically update to my blog. And I found a plugin…

thumbsup
0
message-simple
24

gatsby-plugin-alias-imports not working with Enzyme

I've just started to write tests and I'm getting errors and it seems that when it tries to import the component to test it errors as it can't resolve the components children

thumbsup
0
message-simple
3

Rendering content to page with frontmatter data

Hi peeps, I have description in frontmatter that I want to render below page header as a content of the page. The problem I am facing is that when the description has markdown. What would be the best method to render this in a page?

thumbsup
0
message-simple
1

gatsby-background-image showing in development but not when builded

Hi all, I am using gatsby-background-image to get a full background. When I run this with gatsby develop everything works fine, however when i run gatsby build & gatsby serve the image is not showing. The only difference i can see in the element inspector, is the difference…

thumbsup
0
message-simple
7

Accessing DOM elements post build

I want to do some CSS animating on an inline element to do some cool text rotating. I found this codepen online https://codepen.io/rachsmith/pen/BNKJme. I've set up my HTML and I want to grab all the words to put into my words array: When I run gatsby develop, the words variable…

thumbsup
0
message-simple
8

How to display paginated data using a component in Gatsby

Hi, I am working on a blog using Gatsby. 1. The landing (index) page of my blog is where I display my list of articles 2. I want to display only 10 articles per time so that a user clicks on a next button or a page and another list of articles are shown. …

thumbsup
1
message-simple
2

How to lock part of my MDX page content for non-logged in users

I'm working on a site with gated content, available only for logged-in users. However I still want the pages to be indexed for SEO reasons, and would like visitors to get a "limited" access to each page (maybe 20 lines or so), just like news website sometimes do. Any idea of a…

thumbsup
0
message-simple
6

Component was not imported, exported, or provided by MDXProvider as global scope

I'm trying to define components that I can use in MDX files via MDXProvider and I can't see what I'm doing wrong: Then I use it in an MDX file that is otherwise rendering correctly: Here are the errors in the browser: …

thumbsup
0
message-simple
19