所以我想:
Gatsby和是获取JSON数据和制作静态快速加载站点的工具/方法。可以直接上传到s3或云存储桶中的东西,并且加载得非常快。- contentful is a way to take user input/content (similar to a wordpres admin) that outputs JSON.non-technical user way to input content and output it in a way developers can consume with thing
我正在尝试从Contentful获取富文本,但在gatsby-source-contentful的4.x版本中,文档似乎不再更新。它引用了json,但它已更改为raw,这意味着我不知道如何继续。React from "react"import { documentToReactComponents } from "@contentful,但是如果我将它改为raw而不是json,它不会给我任何错误