我正在使用gatsby-image处理自动处理不同的图像大小.它很棒.
但是,在gatsby-image 的文档中,一个示例使用imageSharpgraphql来获取不同的图像大小,而另一个示例使用childImageSharp.我很好奇两者之间有什么区别?
imageSharp
childImageSharp
我认为它与任何一个gatsby-transformer-sharp或者有关gatsby-plugin-sharp,但这些插件的文档也没有任何信息.
gatsby-transformer-sharp
gatsby-plugin-sharp
gatsby
gatsby ×1