[英]Gatsby Contentful graphql image
First question for something probably stupid but i really dont understand.第一个问题可能很愚蠢,但我真的不明白。 I want some data from contentful for my gatsby site but i got an error who said "The fragment "GatsbyContentfulFluid_tracedSVG" does not exist."
我想要一些来自我的 gatsby 站点的 contentful 的数据,但我收到一个错误消息,提示“片段“GatsbyContentfulFluid_tracedSVG”不存在。 when i try to do the query with the fragment for contentful.
当我尝试使用片段进行查询以获取内容时。 I checked everything but im kind of lost yet.
我检查了一切,但我有点迷失了。 Thank you !
谢谢 !
Here is the error [Here is my query on graphql] When i console.log like this i got the url of the asset这是错误[这是我对graphql的查询]当我像这样console.log时,我得到了资产的网址
不确定这是否是正确的答案,但我使用了...GatsbyContentfulFluid
而不是...GatsbyContentfulFluid_tracedSVG
它似乎可以很好地拉动图像
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.