简体   繁体   中英

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." 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

2

不确定这是否是正确的答案,但我使用了...GatsbyContentfulFluid而不是...GatsbyContentfulFluid_tracedSVG它似乎可以很好地拉动图像

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM