我想在“GraphQL”文件中使用.mdx代码片段:title: Releasing A GitHub Actionslug: /blogAfter using other people's GitHub Actions, I thought I'd give one a shot."
/```graphql
我是一个新手,试图构建一个Gatsby站点,该站点使用以下url结构以编程方式为放置在/content/portfolio的MDX文件生成页面:sitename/portfolio/single-portfolio-item以下是我遵循的步骤:
创建一个新的盖茨比站点:gatsby new gatsby-portfolio https://github.com/gatsbyjs&
而且,gatsby-node.js文件中的代码如下 exports.createPages = async ({ graphql, actions }) => {
const { createPagegatsby-node.js中编写GraphQL查询。Field "featuredImage" must not have a selection since type "String" has no subfields 在package.